public interface IIntegrityCheck
Modifier and Type | Method and Description |
---|---|
int |
getConstrainedViolationCount()
Gets the number of constrained edges that would violate the Delaunay
criterion
|
double |
getConstrainedViolationMaximum()
Get the maximum calculated in-circle score for constrained
edges that violate the Delaunay criterion
|
double |
getContrainedViolationAverage()
Get the average calculated in-circle score for constrained
edges that violate the Delaunay criterion
|
String |
getMessage()
Gets descriptive information about the cause of a test failure.
|
boolean |
inspect()
Performs an inspection of the TIN checking for conditions that
violate the construction rules.
|
void |
printSummary(PrintStream ps)
Prints a summary of data collected during inspection of a TIN.
|
boolean |
testGetVerticesAgainstInputList(List<Vertex> inputList)
Compares the list of vertices from the getVertices() method
to the original list of input vertices and determines whether they
are consistent.
|
String getMessage()
boolean inspect()
void printSummary(PrintStream ps)
ps
- a print stream to receive the output.boolean testGetVerticesAgainstInputList(List<Vertex> inputList)
This method does not account for cases where constraints have been added to the TIN. If constraints have been added, it will return a value of false.
Important: The test assumes that each vertex in the input set is unique. If a vertex occurs more than once, the test will fail.
inputList
- the list of vertices input into the TIN.int getConstrainedViolationCount()
double getConstrainedViolationMaximum()
double getContrainedViolationAverage()
Copyright © 2021. All rights reserved.