Uses of Class
org.locationtech.jts.geom.LineSegment
Packages that use LineSegment
Package
Description
Contains classes and interfaces implementing fundamental computational geometry algorithms.
Classes to compute distance metrics between geometries.
Contains the
Geometry
interface hierarchy and supporting classes.Contains classes that implement Monotone Chains
Contains classes and interfaces implementing linear referencing on linear geometries
Provides classes for computing buffers of geometries
Classes to perform validation of the results of buffer operations.
Classes to perform snapping on geometries to prepare them for overlay operations.
Classes to validate the results of overlay operations.
Classes which implement algorithms for simplifying or generalizing geometries.
Classes to compute Delaunay triangulations.
Classes to implement a topological subdivision of quadeges, to support creating triangulations
and Voronoi diagrams.
-
Uses of LineSegment in org.locationtech.jts.algorithm
Fields in org.locationtech.jts.algorithm declared as LineSegmentMethods in org.locationtech.jts.algorithm that return LineSegmentModifier and TypeMethodDescriptionprivate static LineSegment
MinimumDiameter.computeSegmentForLine
(double a, double b, double c) Methods in org.locationtech.jts.algorithm with parameters of type LineSegmentModifier and TypeMethodDescriptionprivate 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 LineSegmentModifier and TypeMethodDescriptionstatic 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 LineSegmentModifier and TypeMethodDescriptionLineSegment.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 LineSegmentModifier and TypeMethodDescriptionLineSegment.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.LineSegment.intersection
(LineSegment line) Computes an intersection point between two line segments, if there is one.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.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 -
Uses of LineSegment in org.locationtech.jts.index.chain
Fields in org.locationtech.jts.index.chain declared as LineSegmentModifier and TypeFieldDescriptionprotected LineSegment
MonotoneChainOverlapAction.overlapSeg1
protected LineSegment
MonotoneChainOverlapAction.overlapSeg2
(package private) LineSegment
MonotoneChainSelectAction.selectedSegment
Methods in org.locationtech.jts.index.chain with parameters of type LineSegmentModifier and TypeMethodDescriptionvoid
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 LineSegmentModifier and TypeMethodDescriptionLinearLocation.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 LineSegmentModifier and TypeMethodDescriptionprivate 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 LineSegmentModifier and TypeFieldDescriptionprivate 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 LineSegmentModifier and TypeMethodDescriptionprivate 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 -
Uses of LineSegment in org.locationtech.jts.operation.buffer.validate
Methods in org.locationtech.jts.operation.buffer.validate with parameters of type LineSegmentModifier and TypeMethodDescriptionstatic 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 -
Uses of LineSegment in org.locationtech.jts.operation.overlay.validate
Fields in org.locationtech.jts.operation.overlay.validate declared as LineSegment -
Uses of LineSegment in org.locationtech.jts.shape
Methods in org.locationtech.jts.shape that return LineSegment -
Uses of LineSegment in org.locationtech.jts.simplify
Subclasses of LineSegment in org.locationtech.jts.simplifyModifier and TypeClassDescription(package private) class
ALineSegment
which is tagged with its location in a parentGeometry
.Fields in org.locationtech.jts.simplify declared as LineSegmentModifier and TypeFieldDescriptionprivate LineSegment
LineSegmentVisitor.querySeg
private LineSegment
DouglasPeuckerLineSimplifier.seg
Methods in org.locationtech.jts.simplify that return LineSegmentModifier and TypeMethodDescriptionprivate 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 LineSegmentModifier and TypeMethodDescriptionvoid
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) LineSegmentIndex.query
(LineSegment querySeg) void
LineSegmentIndex.remove
(LineSegment seg) Constructors in org.locationtech.jts.simplify with parameters of type LineSegment -
Uses of LineSegment in org.locationtech.jts.triangulate
Fields in org.locationtech.jts.triangulate declared as LineSegmentModifier and TypeFieldDescriptionprivate LineSegment
Segment.ls
private LineSegment
SplitSegment.seg
Methods in org.locationtech.jts.triangulate that return LineSegmentModifier and TypeMethodDescriptionSegment.getLineSegment()
Gets a LineSegment modelling this segment.Methods in org.locationtech.jts.triangulate with parameters of type LineSegmentModifier and TypeMethodDescriptionprivate 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 -
Uses of LineSegment in org.locationtech.jts.triangulate.quadedge
Fields in org.locationtech.jts.triangulate.quadedge declared as LineSegmentModifier and TypeFieldDescriptionprivate LineSegment
LocateFailureException.seg
private LineSegment
QuadEdgeSubdivision.seg
Methods in org.locationtech.jts.triangulate.quadedge that return LineSegmentModifier and TypeMethodDescriptionLocateFailureException.getSegment()
QuadEdge.toLineSegment()
Creates aLineSegment
representing the geometry of this edge.Methods in org.locationtech.jts.triangulate.quadedge with parameters of type LineSegmentModifier and TypeMethodDescriptionvoid
QuadEdgeTriangle.getEdgeSegment
(int i, LineSegment seg) private static String
LocateFailureException.msgWithSpatial
(String msg, LineSegment seg) Constructors in org.locationtech.jts.triangulate.quadedge with parameters of type LineSegment -
Uses of LineSegment in org.locationtech.jtstest.testbuilder.geom
Fields in org.locationtech.jtstest.testbuilder.geom declared as LineSegmentModifier and TypeFieldDescriptionprivate LineSegment
GeometryPointLocater.NearestSegmentLocationFilter.seg
-
Uses of LineSegment in org.locationtech.jtstest.testbuilder.topostretch
Fields in org.locationtech.jtstest.testbuilder.topostretch declared as LineSegmentModifier and TypeFieldDescriptionprivate static LineSegment
StretchedVertexFinder.distSeg
private LineSegment
StretchedVertex.nearSeg
Methods in org.locationtech.jtstest.testbuilder.topostretch with parameters of type LineSegmentModifier and TypeMethodDescriptionprivate Coordinate
StretchedVertex.displaceFromSeg
(LineSegment nearSeg, double dist) Constructors in org.locationtech.jtstest.testbuilder.topostretch with parameters of type LineSegmentModifierConstructorDescriptionStretchedVertex
(Coordinate vertexPt, Coordinate[] parentLine, int parentIndex, LineSegment nearSeg) Creates a vertex for a point which lies near a line segment