public interface INeighborEdgeLocator extends IProcessUsingTin
Modifier and Type | Method and Description |
---|---|
NeighborEdgeVertex |
getEdgeWithNearestVertex(double x,
double y)
Locates the edge which begins with the vertex closest to the
query coordinates (x,y).
|
IQuadEdge |
getNeigborEdge(double x,
double y)
Gets a neighboring edge for the coordinates.
|
resetForChangeToTin
IQuadEdge getNeigborEdge(double x, double y)
x
- a valid Cartesian coordinate consistent with the TINy
- a valid Cartesian coordinate consistent with the TINNeighborEdgeVertex getEdgeWithNearestVertex(double x, double y)
Note that the edge included in the result is not necessarily the edge that lies closest to the query point. One of the other edges in the containing triangle may actually be closer to the query point. This method is concerned with the nearness of the starting vertex of the edge, not the edge itself. However, one of the edges in the containing triangle will, indeed, be the closest edge.
x
- the X coordinate of the query pointy
- the Y coordinate of the query pointCopyright © 2021. All rights reserved.