java.lang.Comparable
public class SegmentNode
extends java.lang.Object
implements java.lang.Comparable
SegmentString
s.Modifier and Type | Field | Description |
---|---|---|
Coordinate |
coord |
|
int |
segmentIndex |
Constructor | Description |
---|---|
SegmentNode(NodedSegmentString segString,
Coordinate coord,
int segmentIndex,
int segmentOctant) |
Modifier and Type | Method | Description |
---|---|---|
int |
compareTo(java.lang.Object obj) |
|
Coordinate |
getCoordinate() |
Gets the
Coordinate giving the location of this node. |
boolean |
isEndPoint(int maxSegmentIndex) |
|
boolean |
isInterior() |
|
void |
print(java.io.PrintStream out) |
public final Coordinate coord
public final int segmentIndex
public SegmentNode(NodedSegmentString segString, Coordinate coord, int segmentIndex, int segmentOctant)
public Coordinate getCoordinate()
Coordinate
giving the location of this node.public boolean isInterior()
public boolean isEndPoint(int maxSegmentIndex)
public int compareTo(java.lang.Object obj)
compareTo
in interface java.lang.Comparable
public void print(java.io.PrintStream out)
Copyright © 2018. All rights reserved.