Uses of Class
org.locationtech.jts.geom.LineString
-
Packages that use LineString Package Description org.locationtech.jts.algorithm Contains classes and interfaces implementing fundamental computational geometry algorithms.org.locationtech.jts.algorithm.construct Provides classes that implement various kinds of geometric constructions.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.geomgraph Contains classes that implement topology graphs.org.locationtech.jts.linearref Contains classes and interfaces implementing linear referencing on linear geometriesorg.locationtech.jts.operation Provides classes for implementing operations on 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.distance3d org.locationtech.jts.operation.linemerge Classes to perform line merging.org.locationtech.jts.operation.overlay.snap Classes to perform snapping on geometries to prepare them for overlay operations.org.locationtech.jts.precision Provides classes for analyzing and manipulating the precision of Geometries.org.locationtech.jts.util Contains support classes for the Java Topology Suite. -
-
Uses of LineString in org.locationtech.jts.algorithm
Methods in org.locationtech.jts.algorithm that return LineString Modifier and Type Method Description LineString
MinimumDiameter. getDiameter()
Gets aLineString
which is a minimum diameterLineString
MinimumDiameter. 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 LineString Modifier and Type Method Description LineString
LargestEmptyCircle. 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.LineString
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 LineString Modifier and Type Method Description static void
DistanceToPoint. computeDistance(LineString line, Coordinate pt, PointPairDistance ptDist)
-
Uses of LineString in org.locationtech.jts.geom
Subclasses of LineString in org.locationtech.jts.geom Modifier and Type Class Description class
LinearRing
Models an OGC SFSLinearRing
.Methods in org.locationtech.jts.geom that return LineString Modifier and Type Method Description LineString
GeometryFactory. createLineString()
Constructs an emptyLineString
geometry.LineString
GeometryFactory. createLineString(Coordinate[] coordinates)
Creates a LineString using the given Coordinates.LineString
GeometryFactory. createLineString(CoordinateSequence coordinates)
Creates a LineString using the given CoordinateSequence.LineString
LineString. reverse()
Creates aLineString
whose coordinates are in the reverse order of this objectsLineString
LineSegment. toGeometry(GeometryFactory geomFactory)
Creates a LineString with the same coordinates as this segmentstatic LineString[]
GeometryFactory. toLineStringArray(java.util.Collection lineStrings)
Converts theList
to an array.Methods in org.locationtech.jts.geom with parameters of type LineString Modifier and Type Method Description MultiLineString
GeometryFactory. 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 LineString Constructor Description MultiLineString(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 Modifier and Type Method Description Edge
GeometryGraph. findEdge(LineString line)
-
Uses of LineString in org.locationtech.jts.linearref
Methods in org.locationtech.jts.linearref that return LineString Modifier and Type Method Description LineString
LinearIterator. 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 LineString Modifier and Type Method Description boolean
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 LineString Modifier and Type Method Description static 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 LineString Modifier and Type Method Description static 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 LineString Modifier and Type Method Description boolean
PlanarPolygon3D. intersects(Coordinate pt, LineString ring)
-
Uses of LineString in org.locationtech.jts.operation.linemerge
Methods in org.locationtech.jts.operation.linemerge that return LineString Modifier and Type Method Description LineString
LineMergeEdge. getLine()
Returns the LineString specifying the vertices of this edge.LineString
EdgeString. toLineString()
Converts this EdgeString into a LineString.Methods in org.locationtech.jts.operation.linemerge with parameters of type LineString Modifier and Type Method Description void
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 LineString Constructor Description LineMergeEdge(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 LineString Constructor Description LineStringSnapper(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 Modifier and Type Method Description LineString
MinimumClearance. getLine()
Gets a LineString containing two points which are at the Minimum Clearance distance.LineString
SimpleMinimumClearance. getLine()
-
Uses of LineString in org.locationtech.jts.util
Methods in org.locationtech.jts.util that return LineString Modifier and Type Method Description LineString
GeometricShapeFactory. 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)
-