Uses of Class
org.locationtech.jts.geom.LineSegment
-
Packages that use LineSegment 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 theGeometry
interface hierarchy and supporting classes.org.locationtech.jts.index.chain Contains classes that implement Monotone Chainsorg.locationtech.jts.linearref Contains classes and interfaces implementing linear referencing on linear geometriesorg.locationtech.jts.operation.buffer Provides classes for computing buffers of geometriesorg.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 -
-
Uses of LineSegment in org.locationtech.jts.algorithm
Fields in org.locationtech.jts.algorithm declared as LineSegment Modifier and Type Field Description private LineSegment
MinimumDiameter. minBaseSeg
Methods in org.locationtech.jts.algorithm that return LineSegment Modifier and Type Method Description private static LineSegment
MinimumDiameter. computeSegmentForLine(double a, double b, double c)
Methods in org.locationtech.jts.algorithm with parameters of type LineSegment Modifier and Type Method Description private int
MinimumDiameter. findMaxPerpDistance(Coordinate[] pts, LineSegment seg, int startIndex)
-
Uses of LineSegment in org.locationtech.jts.algorithm.distance
Methods in org.locationtech.jts.algorithm.distance with parameters of type LineSegment Modifier and Type Method Description static void
DistanceToPoint. computeDistance(LineSegment segment, Coordinate pt, PointPairDistance ptDist)
-
Uses of LineSegment in org.locationtech.jts.geom
Methods in org.locationtech.jts.geom that return LineSegment Modifier and Type Method Description LineSegment
LineSegment. project(LineSegment seg)
Project a line segment onto this line segment and return the resulting line segment.Methods in org.locationtech.jts.geom with parameters of type LineSegment Modifier and Type Method 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)
Returnstrue
ifother
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)
Constructors in org.locationtech.jts.geom with parameters of type LineSegment Constructor Description LineSegment(LineSegment ls)
-
Uses of LineSegment in org.locationtech.jts.index.chain
Fields in org.locationtech.jts.index.chain declared as LineSegment Modifier and Type Field Description protected LineSegment
MonotoneChainOverlapAction. overlapSeg1
protected LineSegment
MonotoneChainOverlapAction. overlapSeg2
(package private) LineSegment
MonotoneChainSelectAction. selectedSegment
Methods in org.locationtech.jts.index.chain with parameters of type LineSegment Modifier and Type Method Description void
MonotoneChain. getLineSegment(int index, LineSegment ls)
Gets the line segment starting atindex
void
MonotoneChainOverlapAction. overlap(LineSegment seg1, LineSegment seg2)
This is a convenience function which can be overridden to obtain the actual line segments which overlapvoid
MonotoneChainSelectAction. select(LineSegment seg)
This is a convenience method which can be overridden to obtain the actual line segment which is selected. -
Uses of LineSegment in org.locationtech.jts.linearref
Methods in org.locationtech.jts.linearref that return LineSegment Modifier and Type Method Description LineSegment
LinearLocation. getSegment(Geometry linearGeom)
Gets aLineSegment
representing the segment of the given linearGeometry
which contains this location.Methods in org.locationtech.jts.linearref with parameters of type LineSegment Modifier and Type Method Description private double
LengthIndexOfPoint. segmentNearestMeasure(LineSegment seg, Coordinate inputPt, double segmentStartMeasure)
-
Uses of LineSegment in org.locationtech.jts.operation.buffer
Fields in org.locationtech.jts.operation.buffer declared as LineSegment Modifier and Type Field 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
Methods in org.locationtech.jts.operation.buffer with parameters of type LineSegment Modifier and Type Method 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.Constructors in org.locationtech.jts.operation.buffer with parameters of type LineSegment Constructor Description DepthSegment(LineSegment seg, int depth)
-
Uses of LineSegment in org.locationtech.jts.operation.buffer.validate
Methods in org.locationtech.jts.operation.buffer.validate with parameters of type LineSegment Modifier and Type Method Description static void
DistanceToPointFinder. computeDistance(LineSegment segment, Coordinate pt, PointPairDistance ptDist)
-
Uses of LineSegment in org.locationtech.jts.operation.overlay.snap
Fields in org.locationtech.jts.operation.overlay.snap declared as LineSegment Modifier and Type Field Description private LineSegment
LineStringSnapper. seg
-
Uses of LineSegment in org.locationtech.jts.operation.overlay.validate
Fields in org.locationtech.jts.operation.overlay.validate declared as LineSegment Modifier and Type Field Description private LineSegment
FuzzyPointLocator. seg
-
Uses of LineSegment in org.locationtech.jts.shape
Methods in org.locationtech.jts.shape that return LineSegment Modifier and Type Method Description LineSegment
GeometricShapeBuilder. getSquareBaseLine()
-
Uses of LineSegment in org.locationtech.jts.simplify
Subclasses of LineSegment in org.locationtech.jts.simplify Modifier and Type Class Description (package private) class
TaggedLineSegment
ALineSegment
which is tagged with its location in a parentGeometry
.Fields in org.locationtech.jts.simplify declared as LineSegment Modifier and Type Field Description private LineSegment
LineSegmentVisitor. querySeg
private LineSegment
DouglasPeuckerLineSimplifier. seg
Methods in org.locationtech.jts.simplify that return LineSegment Modifier and Type Method Description private LineSegment
TaggedLineStringSimplifier. flatten(int start, int end)
Flattens a section of the line between indexesstart
andend
, replacing them with a line between the endpoints.Methods in org.locationtech.jts.simplify with parameters of type LineSegment Modifier and Type Method 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)
Constructors in org.locationtech.jts.simplify with parameters of type LineSegment Constructor Description LineSegmentVisitor(LineSegment querySeg)
-
Uses of LineSegment in org.locationtech.jts.triangulate
Fields in org.locationtech.jts.triangulate declared as LineSegment Modifier and Type Field Description private LineSegment
Segment. ls
private LineSegment
SplitSegment. seg
Methods in org.locationtech.jts.triangulate that return LineSegment Modifier and Type Method Description LineSegment
Segment. getLineSegment()
Gets a LineSegment modelling this segment.Methods in org.locationtech.jts.triangulate with parameters of type LineSegment Modifier and Type Method Description private static Coordinate
SplitSegment. pointAlongReverse(LineSegment seg, double segmentLengthFraction)
Computes theCoordinate
that lies a given fraction along the line defined by the reverse of the given segment.Constructors in org.locationtech.jts.triangulate with parameters of type LineSegment Constructor Description SplitSegment(LineSegment seg)
-
Uses of LineSegment in org.locationtech.jts.triangulate.quadedge
Fields in org.locationtech.jts.triangulate.quadedge declared as LineSegment Modifier and Type Field Description private LineSegment
LocateFailureException. seg
private LineSegment
QuadEdgeSubdivision. seg
Methods in org.locationtech.jts.triangulate.quadedge that return LineSegment Modifier and Type Method Description LineSegment
LocateFailureException. getSegment()
LineSegment
QuadEdge. toLineSegment()
Creates aLineSegment
representing the geometry of this edge.Methods in org.locationtech.jts.triangulate.quadedge with parameters of type LineSegment Modifier and Type Method Description void
QuadEdgeTriangle. getEdgeSegment(int i, LineSegment seg)
private static java.lang.String
LocateFailureException. msgWithSpatial(java.lang.String msg, LineSegment seg)
Constructors in org.locationtech.jts.triangulate.quadedge with parameters of type LineSegment Constructor Description LocateFailureException(java.lang.String msg, LineSegment seg)
LocateFailureException(LineSegment seg)
-
Uses of LineSegment in org.locationtech.jtstest.testbuilder.geom
Fields in org.locationtech.jtstest.testbuilder.geom declared as LineSegment Modifier and Type Field Description private LineSegment
GeometryPointLocater.NearestSegmentLocationFilter. seg
-
Uses of LineSegment in org.locationtech.jtstest.testbuilder.topostretch
Fields in org.locationtech.jtstest.testbuilder.topostretch declared as LineSegment Modifier and Type Field Description private static LineSegment
StretchedVertexFinder. distSeg
private LineSegment
StretchedVertex. nearSeg
Methods in org.locationtech.jtstest.testbuilder.topostretch with parameters of type LineSegment Modifier and Type Method Description private Coordinate
StretchedVertex. displaceFromSeg(LineSegment nearSeg, double dist)
Constructors in org.locationtech.jtstest.testbuilder.topostretch with parameters of type LineSegment Constructor Description StretchedVertex(Coordinate vertexPt, Coordinate[] parentLine, int parentIndex, LineSegment nearSeg)
Creates a vertex for a point which lies near a line segment
-