Class SegmentNode

Hierarchy: Object , SegmentNode
All Implemented Interfaces: Comparable
public class SegmentNode
implements Comparable
Represents an intersection point between two SegmentStrings.

Other

  • version: 1.7
public SegmentNode(NodedSegmentString segString, Coordinate coord, int segmentIndex, int segmentOctant)
public Coordinate getCoordinate()
Gets the Coordinate giving the location of this node.
Returns:
the coordinate of the node
public boolean isInterior()
public boolean isEndPoint(int maxSegmentIndex)
public int compareTo(Object obj)
Returns:
-1 this SegmentNode is located before the argument location; 0 this SegmentNode is at the argument location; 1 this SegmentNode is located after the argument location
public void print(PrintStream out)
public String toString()