JTS Core 1.17.1
Packages
Classes
Search
About
Top
TaggedLineSegment(Coordinate, Coordinate, Geometry, int)
TaggedLineSegment(Coordinate, Coordinate)
getParent(): Geometry
getIndex(): int
Bottom
Source
Classic
org.locationtech.jts.simplify
Class TaggedLineSegment
Hierarchy:
Object
,
LineSegment
, TaggedLineSegment
All Implemented Interfaces:
Comparable
,
Serializable
class TaggedLineSegment
extends
LineSegment
A
LineSegment
which is tagged with its location in a parent
Geometry
. Used to index the segments in a geometry and recover the segment locations from the index.
public
TaggedLineSegment(
Coordinate
p0,
Coordinate
p1,
Geometry
parent, int index)
public
TaggedLineSegment(
Coordinate
p0,
Coordinate
p1)
public
Geometry
getParent()
public
int getIndex()