Uses of Class
org.locationtech.jts.geom.LineString
Packages that use LineString
Package
Description
Contains classes and interfaces implementing fundamental computational geometry algorithms.
Classes to compute distance metrics between geometries.
Classes to perform conversions from Java2D shape objects.
Contains the
Geometry
interface hierarchy and supporting classes.Provides classes that parse and modify Geometry objects.
Contains classes that implement topology graphs.
Contains the interfaces for converting JTS objects to and from other formats.
Classes to read and write the GML2 geometry format.
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.
Provides classes for computing the distance between geometries
Classes to perform line merging.
Classes to perform snapping on geometries to prepare them for overlay operations.
Classes to validate the results of overlay operations.
An API for polygonizing sets of lines.
Classes which implement topological predicates optimized for particular kinds of geometries.
Provides classes for testing the validity of geometries.
Provides classes for analyzing and
manipulating the precision of Geometries.
Classes which implement algorithms for simplifying or generalizing geometries.
Classes to compute Delaunay triangulations.
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 diameterprotected LineString
InteriorPointArea.horizontalBisector
(Geometry geometry) Methods in org.locationtech.jts.algorithm with parameters of type LineStringModifier and TypeMethodDescriptionprivate int
PointLocator.locateOnLineString
(Coordinate p, LineString l) private void
InteriorPointArea.SafeBisectorFinder.process
(LineString line) -
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.awt
Methods in org.locationtech.jts.awt with parameters of type LineString -
Uses of LineString in org.locationtech.jts.dissolve
Methods in org.locationtech.jts.dissolve with parameters of type LineString -
Uses of LineString in org.locationtech.jts.edgegraph
Methods in org.locationtech.jts.edgegraph with parameters of type LineString -
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 TypeMethodDescriptionLineString.copy()
Creates and returns a full copy of thisLineString
object.GeometryFactory.createLineString()
GeometryFactory.createLineString
(Coordinate[] coordinates) Creates a LineString using the given Coordinates.GeometryFactory.createLineString
(CoordinateSequence coordinates) Creates a LineString using the given CoordinateSequence.Polygon.getExteriorRing()
Polygon.getInteriorRingN
(int n) LineSegment.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.geom.util
Methods in org.locationtech.jts.geom.util with parameters of type LineStringModifier and TypeMethodDescriptionprotected Geometry
GeometryTransformer.transformLineString
(LineString geom, Geometry parent) Transforms aLineString
geometry. -
Uses of LineString in org.locationtech.jts.geomgraph
Methods in org.locationtech.jts.geomgraph with parameters of type LineStringModifier and TypeMethodDescriptionprivate void
GeometryGraph.addLineString
(LineString line) GeometryGraph.findEdge
(LineString line) -
Uses of LineString in org.locationtech.jts.io
Methods in org.locationtech.jts.io that return LineStringModifier and TypeMethodDescriptionprivate LineString
WKBReader.readLineString()
private LineString
WKTReader.readLineStringText()
Creates aLineString
using the next token in the stream.Methods in org.locationtech.jts.io with parameters of type LineStringModifier and TypeMethodDescriptionprivate void
WKTWriter.appendLineStringTaggedText
(LineString lineString, int level, Writer writer) Converts aLineString
to <LineString Tagged Text> format, then appends it to the writer.private void
WKTWriter.appendLineStringText
(LineString lineString, int level, boolean doIndent, Writer writer) Converts aLineString
to <LineString Text> format, then appends it to the writer.private void
WKBWriter.writeLineString
(LineString line, OutStream os) -
Uses of LineString in org.locationtech.jts.io.gml2
Methods in org.locationtech.jts.io.gml2 with parameters of type LineStringModifier and TypeMethodDescriptionprivate void
GMLWriter.writeLineString
(LineString ls, Writer writer, int level) -
Uses of LineString in org.locationtech.jts.io.kml
Methods in org.locationtech.jts.io.kml with parameters of type LineStringModifier and TypeMethodDescriptionprivate void
KMLWriter.writeLineString
(LineString ls, String attributes, int level, StringBuffer buf) -
Uses of LineString in org.locationtech.jts.linearref
Fields in org.locationtech.jts.linearref declared as LineStringModifier and TypeFieldDescriptionprivate LineString
LinearIterator.currentLine
Invariant: currentLine invalid input: '<'> null if the iterator is pointing at a valid coordinateMethods in org.locationtech.jts.linearref that return LineStringModifier and TypeMethodDescriptionprivate LineString
ExtractLineByLocation.computeLine
(LinearLocation start, LinearLocation end) Assumes input is valid (e.g.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 LineStringModifier and TypeMethodDescriptionprivate Geometry
BoundaryOp.boundaryLineString
(LineString line) 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 LineStringModifier and TypeMethodDescriptionprivate void
OffsetCurveSetBuilder.addLineString
(LineString 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.distance
Methods in org.locationtech.jts.operation.distance with parameters of type LineStringModifier and TypeMethodDescriptionprivate void
DistanceOp.computeMinDistance
(LineString line0, LineString line1, GeometryLocation[] locGeom) private void
DistanceOp.computeMinDistance
(LineString line, Point pt, GeometryLocation[] locGeom) -
Uses of LineString in org.locationtech.jts.operation.distance3d
Methods in org.locationtech.jts.operation.distance3d with parameters of type LineStringModifier and TypeMethodDescriptionprivate void
Distance3DOp.computeMinDistanceLineLine
(LineString line0, LineString line1, boolean flip) private void
Distance3DOp.computeMinDistanceLinePoint
(LineString line, Point point, boolean flip) private void
Distance3DOp.computeMinDistancePolygonLine
(PlanarPolygon3D poly, LineString line, boolean flip) private Coordinate
Distance3DOp.intersection
(PlanarPolygon3D poly, LineString line) boolean
PlanarPolygon3D.intersects
(Coordinate pt, LineString ring) private int
PlanarPolygon3D.locate
(Coordinate pt, LineString ring) -
Uses of LineString in org.locationtech.jts.operation.linemerge
Fields in org.locationtech.jts.operation.linemerge declared as LineStringMethods in org.locationtech.jts.operation.linemerge that return LineStringModifier and TypeMethodDescriptionLineMergeEdge.getLine()
Returns the LineString specifying the vertices of this edge.private static LineString
LineSequencer.reverse
(LineString line) EdgeString.toLineString()
Converts this EdgeString into a LineString.Methods in org.locationtech.jts.operation.linemerge with parameters of type LineStringModifier and TypeMethodDescriptionprivate void
LineMerger.add
(LineString lineString) void
LineMergeGraph.addEdge
(LineString lineString) Adds an Edge, DirectedEdges, and Nodes for the given LineString representation of an edge.private void
LineSequencer.addLine
(LineString lineString) private static LineString
LineSequencer.reverse
(LineString line) 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.operation.overlay.validate
Methods in org.locationtech.jts.operation.overlay.validate with parameters of type LineStringModifier and TypeMethodDescriptionprivate void
OffsetPointGenerator.extractPoints
(LineString line, double offsetDistance, List offsetPts) -
Uses of LineString in org.locationtech.jts.operation.polygonize
Fields in org.locationtech.jts.operation.polygonize declared as LineStringMethods in org.locationtech.jts.operation.polygonize that return LineStringModifier and TypeMethodDescriptionPolygonizeEdge.getLine()
EdgeRing.getLineString()
Gets the coordinates for this ring as aLineString
.Methods in org.locationtech.jts.operation.polygonize with parameters of type LineStringModifier and TypeMethodDescriptionprivate void
Polygonizer.add
(LineString line) Adds a linestring to the graph of polygon edges.void
PolygonizeGraph.addEdge
(LineString line) Add aLineString
forming an edge of the polygon graph.Constructors in org.locationtech.jts.operation.polygonize with parameters of type LineString -
Uses of LineString in org.locationtech.jts.operation.predicate
Methods in org.locationtech.jts.operation.predicate with parameters of type LineStringModifier and TypeMethodDescriptionprivate void
RectangleIntersectsSegmentVisitor.checkIntersectionWithSegments
(LineString testLine) private boolean
RectangleContains.isLineStringContainedInBoundary
(LineString line) Tests if a linestring is completely contained in the boundary of the target rectangle. -
Uses of LineString in org.locationtech.jts.operation.valid
Methods in org.locationtech.jts.operation.valid with parameters of type LineStringModifier and TypeMethodDescriptionprivate void
IsValidOp.checkValid
(LineString g) Checks validity of a LineString.private void
ConnectedInteriorTester.visitInteriorRing
(LineString ring, PlanarGraph graph) -
Uses of LineString in org.locationtech.jts.precision
Methods in org.locationtech.jts.precision that return LineString -
Uses of LineString in org.locationtech.jts.simplify
Fields in org.locationtech.jts.simplify declared as LineStringMethods in org.locationtech.jts.simplify that return LineStringConstructors in org.locationtech.jts.simplify with parameters of type LineStringModifierConstructorDescriptionTaggedLineString
(LineString parentLine) TaggedLineString
(LineString parentLine, int minimumSize) -
Uses of LineString in org.locationtech.jts.triangulate
Methods in org.locationtech.jts.triangulate with parameters of type LineStringModifier and TypeMethodDescriptionprivate static void
ConformingDelaunayTriangulationBuilder.createConstraintSegments
(LineString line, List constraintSegs) -
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) -
Uses of LineString in org.locationtech.jtsexample.technique
Methods in org.locationtech.jtsexample.technique with parameters of type LineStringModifier and TypeMethodDescriptionstatic Geometry
LineStringSelfIntersections.lineStringSelfIntersections
(LineString line) static void
LineStringSelfIntersections.showSelfIntersections
(LineString line) -
Uses of LineString in org.locationtech.jtstest.clean
Methods in org.locationtech.jtstest.clean that return LineStringMethods in org.locationtech.jtstest.clean with parameters of type LineString -
Uses of LineString in org.locationtech.jtstest.function
Methods in org.locationtech.jtstest.function that return LineStringModifier and TypeMethodDescriptionprivate static LineString
LineHandlingFunctions.extractChain
(LineString line, int index, int maxChainSize) Methods in org.locationtech.jtstest.function with parameters of type LineStringModifier and TypeMethodDescriptionprivate static LineString
LineHandlingFunctions.extractChain
(LineString line, int index, int maxChainSize) -
Uses of LineString in org.locationtech.jtstest.testbuilder
Fields in org.locationtech.jtstest.testbuilder declared as LineStringConstructors in org.locationtech.jtstest.testbuilder with parameters of type LineStringModifierConstructorDescriptionLineStringNode
(LineString line, String tag, GeometryContext context) LineStringNode
(LineString line, GeometryContext context) -
Uses of LineString in org.locationtech.jtstest.testbuilder.geom
Fields in org.locationtech.jtstest.testbuilder.geom declared as LineStringModifier and TypeFieldDescriptionprivate LineString
GeometryVertexDeleter.DeleteVertexOperation.line
private LineString
GeometryVertexInserter.InsertVertexOperation.line
Methods in org.locationtech.jtstest.testbuilder.geom with parameters of type LineStringModifier and TypeMethodDescriptionprivate void
GeometryPointLocater.NearestSegmentLocationFilter.checkSegment
(LineString lineStr, CoordinateSequence seq, int i) private void
GeometryPointLocater.NearestSegmentLocationFilter.checkVertex
(LineString lineStr, CoordinateSequence seq, int i) static Geometry
GeometryVertexDeleter.delete
(Geometry geom, LineString line, int vertexIndex) static Geometry
GeometryVertexInserter.insert
(Geometry geom, LineString line, int segIndex, Coordinate newVertex) Constructors in org.locationtech.jtstest.testbuilder.geom with parameters of type LineStringModifierConstructorDescriptionDeleteVertexOperation
(LineString line, int vertexIndex) InsertVertexOperation
(LineString line, int segIndex, Coordinate newVertex) -
Uses of LineString in org.locationtech.jtstest.testbuilder.topostretch
Methods in org.locationtech.jtstest.testbuilder.topostretch with parameters of type LineStringModifier and TypeMethodDescriptionprivate void
StretchedVertexFinder.findNearVertex
(Coordinate[] targetPts, int index, LineString testLine) Finds a single near vertex.private void
StretchedVertexFinder.findNearVertices
(LineString targetLine) -
Uses of LineString in org.locationtech.jtstest.testbuilder.ui.style
Methods in org.locationtech.jtstest.testbuilder.ui.style with parameters of type LineStringModifier and TypeMethodDescriptionvoid
LineStringStyle.paint
(LineString line, int lineType, Viewport viewport, Graphics2D g) protected void
LineStringEndpointStyle.paintLineString
(LineString lineString, int lineType, Viewport viewport, Graphics2D graphics) protected abstract void
LineStringStyle.paintLineString
(LineString lineString, int lineType, Viewport viewport, Graphics2D graphics) protected void
PolygonStructureStyle.paintLineString
(LineString lineString, int lineType, Viewport viewport, Graphics2D gr) protected void
SegmentStyle.paintLineString
(LineString lineString, int lineType, Viewport viewport, Graphics2D graphics) -
Uses of LineString in org.locationtech.jtstest.util.io
Methods in org.locationtech.jtstest.util.io with parameters of type LineStringModifier and TypeMethodDescriptionprivate void
SVGWriter.appendLineString
(LineString lineString, int level, boolean doIndent, Writer writer) Converts aLineString
to <LineString Text> format, then appends it to the writer.private void
SVGWriter.appendLineStringTaggedText
(LineString lineString, int level, Writer writer) Converts aLineString
to <LineString Tagged Text> format, then appends it to the writer.