Uses of Class
org.locationtech.jts.geom.LineSegment
Packages that use LineSegment
Package
Description
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
Classes to perform validation of the results of buffer operations.
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.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.offset
(double offsetDistance) Computes theLineSegment
that is offset from the segment by a given distance.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 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
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. -
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.shape
Methods in org.locationtech.jts.shape that return LineSegment -
Uses of LineSegment in org.locationtech.jts.triangulate
Methods in org.locationtech.jts.triangulate that return LineSegmentModifier and TypeMethodDescriptionSegment.getLineSegment()
Gets a LineSegment modelling this segment.Constructors in org.locationtech.jts.triangulate with parameters of type LineSegment -
Uses of LineSegment in org.locationtech.jts.triangulate.quadedge
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 LineSegmentConstructors in org.locationtech.jts.triangulate.quadedge with parameters of type LineSegment