net.refractions.udig.tools.edit.support
Class ClosestEdge
java.lang.Object
net.refractions.udig.tools.edit.support.ClosestEdge
public class ClosestEdge
- extends java.lang.Object
Describes the relationship between an arbitrary point to an edge in a EditGeom
- Since:
- 1.1.0
- Author:
- jones
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ClosestEdge
public ClosestEdge(double distanceToEdge,
int indexOfPrevious,
Point pointOnLine,
PrimitiveShape part)
getDistanceToEdge
public double getDistanceToEdge()
- Returns:
- Returns the distanceToEdge.
getIndexOfPrevious
public int getIndexOfPrevious()
- Returns:
- Returns the indexOfPrevious.
getPart
public PrimitiveShape getPart()
- Returns:
- Returns the part.
getPointOnLine
public Point getPointOnLine()
- Returns:
- Returns the pointOnLine.
getAddedCoord
public Coordinate getAddedCoord()
- Returns:
- Returns the coordinate the will/has been added.
getGeom
public EditGeom getGeom()
- Returns:
- Returns the shape.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object