public interface IIncrementalTinNavigator extends IProcessUsingTin
Modifier and Type | Method and Description |
---|---|
SimpleTriangle |
getContainingTriangle(double x,
double y)
Gets a triangle from the TIN that contains the specified coordinate
point (if any).
|
NearestEdgeResult |
getNearestEdge(double x,
double y)
Gets nearest edge to the specified coordinate point.
|
Vertex |
getNearestVertex(double x,
double y)
Gets the nearest vertex to the specified coordinates
|
IQuadEdge |
getNeighborEdge(double x,
double y)
Gets a neighboring edge for the coordinates.
|
boolean |
isPointInsideTin(double x,
double y)
Determines whether the point is inside the convex polygon boundary
of the TIN.
|
void |
resetForChangeToTin()
Reset the navigator due to a change in the TIN.
|
SimpleTriangle getContainingTriangle(double x, double y)
x
- a valid Cartesian coordinatey
- a valid Cartesian coordinateNearestEdgeResult getNearestEdge(double x, double y)
x
- a valid Cartesian coordinatey
- a valid Cartesian coordinateVertex getNearestVertex(double x, double y)
x
- a valid Cartesian coordinatey
- a valid Cartesian coordinateIQuadEdge getNeighborEdge(double x, double y)
x
- a valid Cartesian coordinatey
- a valid Cartesian coordinateboolean isPointInsideTin(double x, double y)
x
- The x coordinate of interesty
- THe y coordinate of interestvoid resetForChangeToTin()
Resetting the state data unnecessarily may result in a performance reduction when processing a large number of operations, but is otherwise harmless.
resetForChangeToTin
in interface IProcessUsingTin
Copyright © 2021. All rights reserved.