public class Proximity2DResult extends Object
Modifier and Type | Method and Description |
---|---|
Point |
getCoordinate()
Returns the closest coordinate for
OperatorProximity2D.getNearestCoordinate or the vertex coordinates for
the OperatorProximity2D.getNearestVertex and
OperatorProximity2D.getNearestVertices.
|
double |
getDistance()
Returns the distance to the closest vertex or coordinate.
|
int |
getVertexIndex()
Returns the vertex index.
|
boolean |
isEmpty()
Returns TRUE if the Proximity2DResult is empty.
|
boolean |
isRightSide()
Returns true if the closest coordinate is to the right of the MultiPath.
|
void |
setRightSide(boolean bRight)
Sets the right_side info to true or false.
|
public void setRightSide(boolean bRight)
bRight
- Whether the nearest coordinate is to the right or left of the
geometry.public boolean isEmpty()
public Point getCoordinate()
public int getVertexIndex()
public double getDistance()
public boolean isRightSide()
Copyright © 2018. All rights reserved.