JTS Core 1.17.1
Packages
Classes
Search
About
Top
SegmentNode(NodedSegmentString, Coordinate, int, int)
getCoordinate(): Coordinate
isInterior(): boolean
isEndPoint(int): boolean
compareTo(Object): int
print(PrintStream): void
toString(): String
Bottom
Source
Classic
org.locationtech.jts.noding
Class SegmentNode
Hierarchy:
Object
, SegmentNode
All Implemented Interfaces:
Comparable
public class SegmentNode
implements
Comparable
Represents an intersection point between two
SegmentString
s.
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()