public class SegmentNode extends Objectimplements Comparable
SegmentStrings.
| Modifier and Type | Field and Description |
|---|---|
Coordinate |
coord
|
int |
segmentIndex
|
| Constructor and Description |
|---|
SegmentNode(NodedSegmentString
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Object
|
Coordinate |
getCoordinate()
Gets the
Coordinate giving the location of this node.
|
boolean |
isEndPoint(int maxSegmentIndex)
|
boolean |
isInterior()
|
void |
print(PrintStream
|
public final Coordinatecoord
public final int segmentIndex
public SegmentNode(NodedSegmentStringsegString, Coordinate coord, int segmentIndex, int segmentOctant)
public CoordinategetCoordinate()
Coordinate giving the location of this node.
public boolean isInterior()
public boolean isEndPoint(int maxSegmentIndex)
public int compareTo(Objectobj)
compareTo in interface
Comparable
public void print(PrintStreamout)