com.vividsolutions.jts.noding
Class SegmentNode
java.lang.Object
com.vividsolutions.jts.noding.SegmentNode
- All Implemented Interfaces:
- Comparable
public class SegmentNode
- extends Object
- implements Comparable
Represents an intersection point between two SegmentStrings.
- Version:
- 1.7
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
coord
public final Coordinate coord
segmentIndex
public final int segmentIndex
SegmentNode
public SegmentNode(NodedSegmentString segString,
Coordinate coord,
int segmentIndex,
int segmentOctant)
isInterior
public boolean isInterior()
isEndPoint
public boolean isEndPoint(int maxSegmentIndex)
compareTo
public int compareTo(Object obj)
- Specified by:
compareTo in interface Comparable
- Returns:
- -1 this SegmentNode is located before the argument location
print
public void print(PrintStream out)
Copyright © 2011. All Rights Reserved.