Package | Description |
---|---|
org.locationtech.jts.algorithm |
Contains classes and interfaces implementing fundamental computational geometry algorithms.
|
org.locationtech.jts.algorithm.distance |
Classes to compute distance metrics between geometries.
|
org.locationtech.jts.geom |
Contains the
Geometry interface hierarchy and supporting classes. |
org.locationtech.jts.index.chain |
Contains classes that implement Monotone Chains
|
org.locationtech.jts.linearref |
Contains classes and interfaces implementing linear referencing on linear geometries
|
org.locationtech.jts.operation.buffer |
Provides classes for computing buffers of geometries
|
org.locationtech.jts.operation.buffer.validate |
Classes to perform validation of the results of buffer operations.
|
org.locationtech.jts.operation.overlay.snap |
Classes to perform snapping on geometries to prepare them for overlay operations.
|
org.locationtech.jts.operation.overlay.validate |
Classes to validate the results of overlay operations.
|
org.locationtech.jts.shape | |
org.locationtech.jts.simplify |
Classes which implement algorithms for simplifying or generalizing geometries.
|
org.locationtech.jts.triangulate |
Classes to compute Delaunay triangulations.
|
org.locationtech.jts.triangulate.quadedge |
Classes to implement a topological subdivision of quadeges, to support creating triangulations
and Voronoi diagrams.
|
org.locationtech.jtstest.testbuilder.geom | |
org.locationtech.jtstest.testbuilder.topostretch |
Modifier and Type | Field and Description |
---|---|
private LineSegment |
MinimumDiameter.minBaseSeg |
Modifier and Type | Method and Description |
---|---|
private static LineSegment |
MinimumDiameter.computeSegmentForLine(double a,
double b,
double c) |
Modifier and Type | Method and Description |
---|---|
private int |
MinimumDiameter.findMaxPerpDistance(Coordinate[] pts,
LineSegment seg,
int startIndex) |
Modifier and Type | Method and Description |
---|---|
static void |
DistanceToPoint.computeDistance(LineSegment segment,
Coordinate pt,
PointPairDistance ptDist) |
Modifier and Type | Method and Description |
---|---|
LineSegment |
LineSegment.project(LineSegment seg)
Project a line segment onto this line segment and return the resulting
line segment.
|
Modifier and Type | Method and Description |
---|---|
Coordinate[] |
LineSegment.closestPoints(LineSegment line)
Computes the closest points on two line segments.
|
double |
LineSegment.distance(LineSegment ls)
Computes the distance between this line segment and another segment.
|
boolean |
LineSegment.equalsTopo(LineSegment other)
Returns
true if other is
topologically equal to this LineSegment (e.g. |
Coordinate |
LineSegment.intersection(LineSegment line)
Computes an intersection point between two line segments, if there is one.
|
Coordinate |
LineSegment.lineIntersection(LineSegment line)
Computes the intersection point of the lines of infinite extent defined
by two line segments (if there is one).
|
int |
LineSegment.orientationIndex(LineSegment seg)
Determines the orientation of a LineSegment relative to this segment.
|
LineSegment |
LineSegment.project(LineSegment seg)
Project a line segment onto this line segment and return the resulting
line segment.
|
void |
LineSegment.setCoordinates(LineSegment ls) |
Constructor and Description |
---|
LineSegment(LineSegment ls) |
Modifier and Type | Field and Description |
---|---|
protected LineSegment |
MonotoneChainOverlapAction.overlapSeg1 |
protected LineSegment |
MonotoneChainOverlapAction.overlapSeg2 |
(package private) LineSegment |
MonotoneChainSelectAction.selectedSegment |
Modifier and Type | Method and Description |
---|---|
void |
MonotoneChain.getLineSegment(int index,
LineSegment ls)
Gets the line segment starting at
index |
void |
MonotoneChainOverlapAction.overlap(LineSegment seg1,
LineSegment seg2)
This is a convenience function which can be overridden to obtain the actual
line segments which overlap
|
void |
MonotoneChainSelectAction.select(LineSegment seg)
This is a convenience method which can be overridden to obtain the actual
line segment which is selected.
|
Modifier and Type | Method and Description |
---|---|
LineSegment |
LinearLocation.getSegment(Geometry linearGeom)
Gets a
LineSegment representing the segment of the
given linear Geometry which contains this location. |
Modifier and Type | Method and Description |
---|---|
private double |
LengthIndexOfPoint.segmentNearestMeasure(LineSegment seg,
Coordinate inputPt,
double segmentStartMeasure) |
Modifier and Type | Field and Description |
---|---|
private LineSegment |
OffsetSegmentGenerator.offset0 |
private LineSegment |
OffsetSegmentGenerator.offset1 |
private LineSegment |
SubgraphDepthLocater.seg |
private LineSegment |
OffsetSegmentGenerator.seg0 |
private LineSegment |
OffsetSegmentGenerator.seg1 |
private LineSegment |
SubgraphDepthLocater.DepthSegment.upwardSeg |
Modifier and Type | Method and Description |
---|---|
private void |
OffsetSegmentGenerator.addBevelJoin(LineSegment offset0,
LineSegment offset1)
Adds a bevel join connecting the two offset segments
around a reflex corner.
|
private void |
OffsetSegmentGenerator.addLimitedMitreJoin(LineSegment offset0,
LineSegment offset1,
double distance,
double mitreLimit)
Adds a limited mitre join connecting the two reflex offset segments.
|
private void |
OffsetSegmentGenerator.addMitreJoin(Coordinate p,
LineSegment offset0,
LineSegment offset1,
double distance)
Adds a mitre join connecting the two reflex offset segments.
|
private int |
SubgraphDepthLocater.DepthSegment.compareX(LineSegment seg0,
LineSegment seg1)
Compare two collinear segments for left-most ordering.
|
private void |
OffsetSegmentGenerator.computeOffsetSegment(LineSegment seg,
int side,
double distance,
LineSegment offset)
Compute an offset segment for an input segment on a given side and at a given distance.
|
Constructor and Description |
---|
DepthSegment(LineSegment seg,
int depth) |
Modifier and Type | Method and Description |
---|---|
static void |
DistanceToPointFinder.computeDistance(LineSegment segment,
Coordinate pt,
PointPairDistance ptDist) |
Modifier and Type | Field and Description |
---|---|
private LineSegment |
LineStringSnapper.seg |
Modifier and Type | Field and Description |
---|---|
private LineSegment |
FuzzyPointLocator.seg |
Modifier and Type | Method and Description |
---|---|
LineSegment |
GeometricShapeBuilder.getSquareBaseLine() |
Modifier and Type | Class and Description |
---|---|
(package private) class |
TaggedLineSegment
A
LineSegment which is tagged with its location in a parent Geometry . |
Modifier and Type | Field and Description |
---|---|
private LineSegment |
LineSegmentVisitor.querySeg |
private LineSegment |
DouglasPeuckerLineSimplifier.seg |
Modifier and Type | Method and Description |
---|---|
private LineSegment |
TaggedLineStringSimplifier.flatten(int start,
int end)
Flattens a section of the line between
indexes
start and end ,
replacing them with a line between the endpoints. |
Modifier and Type | Method and Description |
---|---|
void |
LineSegmentIndex.add(LineSegment seg) |
void |
TaggedLineString.addToResult(LineSegment seg) |
private boolean |
TaggedLineStringSimplifier.hasBadInputIntersection(TaggedLineString parentLine,
int[] sectionIndex,
LineSegment candidateSeg) |
private boolean |
TaggedLineStringSimplifier.hasBadIntersection(TaggedLineString parentLine,
int[] sectionIndex,
LineSegment candidateSeg) |
private boolean |
TaggedLineStringSimplifier.hasBadOutputIntersection(LineSegment candidateSeg) |
private boolean |
TaggedLineStringSimplifier.hasInteriorIntersection(LineSegment seg0,
LineSegment seg1) |
java.util.List |
LineSegmentIndex.query(LineSegment querySeg) |
void |
LineSegmentIndex.remove(LineSegment seg) |
Constructor and Description |
---|
LineSegmentVisitor(LineSegment querySeg) |
Modifier and Type | Field and Description |
---|---|
private LineSegment |
Segment.ls |
private LineSegment |
SplitSegment.seg |
Modifier and Type | Method and Description |
---|---|
LineSegment |
Segment.getLineSegment()
Gets a LineSegment modelling this segment.
|
Modifier and Type | Method and Description |
---|---|
private static Coordinate |
SplitSegment.pointAlongReverse(LineSegment seg,
double segmentLengthFraction)
Computes the
Coordinate that lies a given fraction along the line defined by the
reverse of the given segment. |
Constructor and Description |
---|
SplitSegment(LineSegment seg) |
Modifier and Type | Field and Description |
---|---|
private LineSegment |
QuadEdgeSubdivision.seg |
private LineSegment |
LocateFailureException.seg |
Modifier and Type | Method and Description |
---|---|
LineSegment |
LocateFailureException.getSegment() |
LineSegment |
QuadEdge.toLineSegment()
Creates a
LineSegment representing the
geometry of this edge. |
Modifier and Type | Method and Description |
---|---|
void |
QuadEdgeTriangle.getEdgeSegment(int i,
LineSegment seg) |
private static java.lang.String |
LocateFailureException.msgWithSpatial(java.lang.String msg,
LineSegment seg) |
Constructor and Description |
---|
LocateFailureException(LineSegment seg) |
LocateFailureException(java.lang.String msg,
LineSegment seg) |
Modifier and Type | Field and Description |
---|---|
private LineSegment |
GeometryPointLocater.NearestSegmentLocationFilter.seg |
Modifier and Type | Field and Description |
---|---|
private static LineSegment |
StretchedVertexFinder.distSeg |
private LineSegment |
StretchedVertex.nearSeg |
Modifier and Type | Method and Description |
---|---|
private Coordinate |
StretchedVertex.displaceFromSeg(LineSegment nearSeg,
double dist) |
Constructor and Description |
---|
StretchedVertex(Coordinate vertexPt,
Coordinate[] parentLine,
int parentIndex,
LineSegment nearSeg)
Creates a vertex for a point which lies near a line segment
|