public class NeighborEdgeVertex extends Object
Constructor and Description |
---|
NeighborEdgeVertex(IQuadEdge edge,
double d,
double x,
double y,
boolean interior)
Standard constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
getDistance()
Gets the distance from the query point to the nearest vertex.
|
IQuadEdge |
getEdge()
Gets the edge that begins with the vertex closest to the query
coordinates.
|
Vertex |
getNearestVertex()
Gets the vertex nearest the query point.
|
double |
getX()
Get the X coordinate of the query point
|
double |
getY()
Get the Y coordinate of the query point
|
boolean |
isInterior()
Indicates whether the query point was inside the
convex polygon boundary of the TIN.
|
public NeighborEdgeVertex(IQuadEdge edge, double d, double x, double y, boolean interior)
edge
- the edge that starts with the vertex nearest (x,y)d
- the distance of the vertex to (x,y)x
- the X coordinate for the query pointy
- the Y coordinate for the query pointinterior
- indicates that the query point is inside the TIN
boundary,public IQuadEdge getEdge()
public Vertex getNearestVertex()
public double getDistance()
public double getX()
public double getY()
public boolean isInterior()
Copyright © 2021. All rights reserved.