public class SegmentNode extends Object implements Comparable
SegmentStrings.| Modifier and Type | Field and Description |
|---|---|
Point |
coord |
int |
segmentIndex |
| Constructor and Description |
|---|
SegmentNode(NodedSegmentString segString,
Point coord,
int segmentIndex,
int segmentOctant) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Object obj) |
Point |
getCoordinate()
Gets the
Coordinates giving the location of this node. |
boolean |
isEndPoint(int maxSegmentIndex) |
boolean |
isInterior() |
void |
print(PrintStream out) |
public final Point coord
public final int segmentIndex
public SegmentNode(NodedSegmentString segString, Point coord, int segmentIndex, int segmentOctant)
public int compareTo(Object obj)
compareTo in interface Comparablepublic Point getCoordinate()
Coordinates giving the location of this node.public boolean isEndPoint(int maxSegmentIndex)
public boolean isInterior()
public void print(PrintStream out)
Copyright © 2015 Revolution Systems Inc.. All rights reserved.