Uses of Class
org.locationtech.jts.geom.LineString
Packages that use LineString
Package
Description
Contains classes and interfaces implementing fundamental computational geometry algorithms.
Provides classes that implement various kinds of geometric constructions.
Classes to compute distance metrics between geometries.
Contains the
Geometry
interface hierarchy and supporting classes.Contains classes that implement topology graphs.
Contains classes and interfaces implementing linear referencing on linear geometries
Provides classes for implementing operations on geometries
Provides classes for computing buffers of geometries
Classes to perform validation of the results of buffer operations.
Classes to perform line merging.
Classes to perform snapping on geometries to prepare them for overlay operations.
Provides classes for analyzing and
manipulating the precision of Geometries.
Contains support classes for the Java Topology Suite.
-
Uses of LineString in org.locationtech.jts.algorithm
Methods in org.locationtech.jts.algorithm that return LineStringModifier and TypeMethodDescriptionMinimumDiameter.getDiameter()
Gets aLineString
which is a minimum diameterMinimumDiameter.getSupportingSegment()
Gets the segment forming the base of the minimum diameter -
Uses of LineString in org.locationtech.jts.algorithm.construct
Methods in org.locationtech.jts.algorithm.construct that return LineStringModifier and TypeMethodDescriptionLargestEmptyCircle.getRadiusLine()
Gets a line representing a radius of the Largest Empty Circle.static LineString
LargestEmptyCircle.getRadiusLine
(Geometry obstacles, double tolerance) Computes a radius line of the Largest Empty Circle within a set of obstacles, up to a given distance tolerance.MaximumInscribedCircle.getRadiusLine()
Gets a line representing a radius of the Largest Empty Circle.static LineString
MaximumInscribedCircle.getRadiusLine
(Geometry polygonal, double tolerance) Computes a radius line of the Maximum Inscribed Circle of a polygonal geometry, up to a given tolerance distance. -
Uses of LineString in org.locationtech.jts.algorithm.distance
Methods in org.locationtech.jts.algorithm.distance with parameters of type LineStringModifier and TypeMethodDescriptionstatic void
DistanceToPoint.computeDistance
(LineString line, Coordinate pt, PointPairDistance ptDist) -
Uses of LineString in org.locationtech.jts.geom
Subclasses of LineString in org.locationtech.jts.geomMethods in org.locationtech.jts.geom that return LineStringModifier and TypeMethodDescriptionGeometryFactory.createLineString()
Constructs an emptyLineString
geometry.GeometryFactory.createLineString
(Coordinate[] coordinates) Creates a LineString using the given Coordinates.GeometryFactory.createLineString
(CoordinateSequence coordinates) Creates a LineString using the given CoordinateSequence.LineString.reverse()
Creates aLineString
whose coordinates are in the reverse order of this objectsLineSegment.toGeometry
(GeometryFactory geomFactory) Creates a LineString with the same coordinates as this segmentstatic LineString[]
GeometryFactory.toLineStringArray
(Collection lineStrings) Converts theList
to an array.Methods in org.locationtech.jts.geom with parameters of type LineStringModifier and TypeMethodDescriptionGeometryFactory.createMultiLineString
(LineString[] lineStrings) Creates a MultiLineString using the given LineStrings; a null or empty array will create an empty MultiLineString.Constructors in org.locationtech.jts.geom with parameters of type LineStringModifierConstructorDescriptionMultiLineString
(LineString[] lineStrings, GeometryFactory factory) MultiLineString
(LineString[] lineStrings, PrecisionModel precisionModel, int SRID) Deprecated.Use GeometryFactory instead -
Uses of LineString in org.locationtech.jts.geomgraph
Methods in org.locationtech.jts.geomgraph with parameters of type LineString -
Uses of LineString in org.locationtech.jts.linearref
Methods in org.locationtech.jts.linearref that return LineStringModifier and TypeMethodDescriptionLinearIterator.getLine()
Gets theLineString
component the iterator is current at. -
Uses of LineString in org.locationtech.jts.operation
Methods in org.locationtech.jts.operation with parameters of type LineStringModifier and TypeMethodDescriptionboolean
IsSimpleOp.isSimple
(LineString geom) Deprecated.use isSimple() -
Uses of LineString in org.locationtech.jts.operation.buffer
Methods in org.locationtech.jts.operation.buffer with parameters of type LineStringModifier and TypeMethodDescriptionstatic Coordinate[]
OffsetCurve.rawOffset
(LineString geom, double distance) Gets the raw offset line, with default buffer parameters.static Coordinate[]
OffsetCurve.rawOffset
(LineString geom, double distance, BufferParameters bufParams) Gets the raw offset line. -
Uses of LineString in org.locationtech.jts.operation.buffer.validate
Methods in org.locationtech.jts.operation.buffer.validate with parameters of type LineStringModifier and TypeMethodDescriptionstatic void
DistanceToPointFinder.computeDistance
(LineString line, Coordinate pt, PointPairDistance ptDist) -
Uses of LineString in org.locationtech.jts.operation.distance3d
Methods in org.locationtech.jts.operation.distance3d with parameters of type LineStringModifier and TypeMethodDescriptionboolean
PlanarPolygon3D.intersects
(Coordinate pt, LineString ring) -
Uses of LineString in org.locationtech.jts.operation.linemerge
Methods in org.locationtech.jts.operation.linemerge that return LineStringModifier and TypeMethodDescriptionLineMergeEdge.getLine()
Returns the LineString specifying the vertices of this edge.EdgeString.toLineString()
Converts this EdgeString into a LineString.Methods in org.locationtech.jts.operation.linemerge with parameters of type LineStringModifier and TypeMethodDescriptionvoid
LineMergeGraph.addEdge
(LineString lineString) Adds an Edge, DirectedEdges, and Nodes for the given LineString representation of an edge.Constructors in org.locationtech.jts.operation.linemerge with parameters of type LineStringModifierConstructorDescriptionLineMergeEdge
(LineString line) Constructs a LineMergeEdge with vertices given by the specified LineString. -
Uses of LineString in org.locationtech.jts.operation.overlay.snap
Constructors in org.locationtech.jts.operation.overlay.snap with parameters of type LineStringModifierConstructorDescriptionLineStringSnapper
(LineString srcLine, double snapTolerance) Creates a new snapper using the points in the givenLineString
as source snap points. -
Uses of LineString in org.locationtech.jts.precision
Methods in org.locationtech.jts.precision that return LineString -
Uses of LineString in org.locationtech.jts.util
Methods in org.locationtech.jts.util that return LineStringModifier and TypeMethodDescriptionGeometricShapeFactory.createArc
(double startAng, double angExtent) Creates an elliptical arc, as aLineString
.static LineString
Debug.toLine
(Coordinate p0, Coordinate p1) static LineString
Debug.toLine
(Coordinate p0, Coordinate p1, Coordinate p2) static LineString
Debug.toLine
(Coordinate p0, Coordinate p1, Coordinate p2, Coordinate p3)