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.distance Classes to compute distance metrics between geometries.org.locationtech.jts.awt Classes to perform conversions from Java2D shape objects.org.locationtech.jts.dissolve org.locationtech.jts.edgegraph org.locationtech.jts.geom Contains theGeometry
interface hierarchy and supporting classes.org.locationtech.jts.geom.util Provides classes that parse and modify Geometry objects.org.locationtech.jts.geomgraph Contains classes that implement topology graphs.org.locationtech.jts.io Contains the interfaces for converting JTS objects to and from other formats.org.locationtech.jts.io.gml2 Classes to read and write the GML2 geometry format.org.locationtech.jts.io.kml 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.distance Provides classes for computing the distance between geometriesorg.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.operation.overlay.validate Classes to validate the results of overlay operations.org.locationtech.jts.operation.polygonize An API for polygonizing sets of lines.org.locationtech.jts.operation.predicate Classes which implement topological predicates optimized for particular kinds of geometries.org.locationtech.jts.operation.valid Provides classes for testing the validity of geometries.org.locationtech.jts.precision Provides classes for analyzing and manipulating the precision of Geometries.org.locationtech.jts.simplify Classes which implement algorithms for simplifying or generalizing geometries.org.locationtech.jts.triangulate Classes to compute Delaunay triangulations.org.locationtech.jts.util Contains support classes for the Java Topology Suite.org.locationtech.jtsexample.technique org.locationtech.jtstest.clean org.locationtech.jtstest.function org.locationtech.jtstest.testbuilder org.locationtech.jtstest.testbuilder.geom org.locationtech.jtstest.testbuilder.topostretch org.locationtech.jtstest.testbuilder.ui.style org.locationtech.jtstest.util.io -
-
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 diameterprotected LineString
InteriorPointArea. horizontalBisector(Geometry geometry)
Methods in org.locationtech.jts.algorithm with parameters of type LineString Modifier and Type Method Description private 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 LineString Modifier and Type Method Description static 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 Modifier and Type Method Description private java.awt.geom.GeneralPath
ShapeWriter. toShape(LineString lineString)
-
Uses of LineString in org.locationtech.jts.dissolve
Methods in org.locationtech.jts.dissolve with parameters of type LineString Modifier and Type Method Description private void
LineDissolver. add(LineString lineString)
-
Uses of LineString in org.locationtech.jts.edgegraph
Methods in org.locationtech.jts.edgegraph with parameters of type LineString Modifier and Type Method Description private void
EdgeGraphBuilder. add(LineString lineString)
-
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
LineString. copy()
Creates and returns a full copy of thisLineString
object.LineString
GeometryFactory. createLineString()
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
Polygon. getExteriorRing()
LineString
Polygon. getInteriorRingN(int n)
LineString
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.geom.util
Methods in org.locationtech.jts.geom.util with parameters of type LineString Modifier and Type Method Description protected 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 LineString Modifier and Type Method Description private void
GeometryGraph. addLineString(LineString line)
Edge
GeometryGraph. findEdge(LineString line)
-
Uses of LineString in org.locationtech.jts.io
Methods in org.locationtech.jts.io that return LineString Modifier and Type Method Description private 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 LineString Modifier and Type Method Description private void
WKTWriter. appendLineStringTaggedText(LineString lineString, int level, java.io.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, java.io.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 LineString Modifier and Type Method Description private void
GMLWriter. writeLineString(LineString ls, java.io.Writer writer, int level)
-
Uses of LineString in org.locationtech.jts.io.kml
Methods in org.locationtech.jts.io.kml with parameters of type LineString Modifier and Type Method Description private void
KMLWriter. writeLineString(LineString ls, java.lang.String attributes, int level, java.lang.StringBuffer buf)
-
Uses of LineString in org.locationtech.jts.linearref
Fields in org.locationtech.jts.linearref declared as LineString Modifier and Type Field Description private LineString
LinearIterator. currentLine
Invariant: currentLine <> null if the iterator is pointing at a valid coordinateMethods in org.locationtech.jts.linearref that return LineString Modifier and Type Method Description private LineString
ExtractLineByLocation. computeLine(LinearLocation start, LinearLocation end)
Assumes input is valid (e.g.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 private 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 LineString Modifier and Type Method Description private 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 LineString Modifier and Type Method Description static 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 LineString Modifier and Type Method Description private 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 LineString Modifier and Type Method Description private 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 LineString Modifier and Type Field Description private LineString
LineMergeEdge. line
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.private static LineString
LineSequencer. reverse(LineString line)
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 private 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 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.operation.overlay.validate
Methods in org.locationtech.jts.operation.overlay.validate with parameters of type LineString Modifier and Type Method Description private void
OffsetPointGenerator. extractPoints(LineString line, double offsetDistance, java.util.List offsetPts)
-
Uses of LineString in org.locationtech.jts.operation.polygonize
Fields in org.locationtech.jts.operation.polygonize declared as LineString Modifier and Type Field Description private LineString
PolygonizeEdge. line
Methods in org.locationtech.jts.operation.polygonize that return LineString Modifier and Type Method Description LineString
PolygonizeEdge. getLine()
LineString
EdgeRing. getLineString()
Gets the coordinates for this ring as aLineString
.Methods in org.locationtech.jts.operation.polygonize with parameters of type LineString Modifier and Type Method Description private 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 Constructor Description PolygonizeEdge(LineString line)
-
Uses of LineString in org.locationtech.jts.operation.predicate
Methods in org.locationtech.jts.operation.predicate with parameters of type LineString Modifier and Type Method Description private 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 LineString Modifier and Type Method Description private 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 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.simplify
Fields in org.locationtech.jts.simplify declared as LineString Modifier and Type Field Description private LineString
TaggedLineString. parentLine
Methods in org.locationtech.jts.simplify that return LineString Modifier and Type Method Description LineString
TaggedLineString. asLineString()
LineString
TaggedLineString. getParent()
Constructors in org.locationtech.jts.simplify with parameters of type LineString Constructor Description TaggedLineString(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 LineString Modifier and Type Method Description private static void
ConformingDelaunayTriangulationBuilder. createConstraintSegments(LineString line, java.util.List constraintSegs)
-
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)
-
Uses of LineString in org.locationtech.jtsexample.technique
Methods in org.locationtech.jtsexample.technique with parameters of type LineString Modifier and Type Method Description static 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 LineString Modifier and Type Method Description private LineString
CleanDuplicatePoints. clean(LineString g)
Methods in org.locationtech.jtstest.clean with parameters of type LineString Modifier and Type Method Description private LineString
CleanDuplicatePoints. clean(LineString g)
-
Uses of LineString in org.locationtech.jtstest.function
Methods in org.locationtech.jtstest.function that return LineString Modifier and Type Method Description private static LineString
LineHandlingFunctions. extractChain(LineString line, int index, int maxChainSize)
Methods in org.locationtech.jtstest.function with parameters of type LineString Modifier and Type Method Description private 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 LineString Modifier and Type Field Description private LineString
LineStringNode. line
Constructors in org.locationtech.jtstest.testbuilder with parameters of type LineString Constructor Description LineStringNode(LineString line, java.lang.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 LineString Modifier and Type Field Description private LineString
GeometryVertexDeleter.DeleteVertexOperation. line
private LineString
GeometryVertexInserter.InsertVertexOperation. line
Methods in org.locationtech.jtstest.testbuilder.geom with parameters of type LineString Modifier and Type Method Description private 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 LineString Constructor Description DeleteVertexOperation(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 LineString Modifier and Type Method Description private 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 LineString Modifier and Type Method Description void
LineStringStyle. paint(LineString line, int lineType, Viewport viewport, java.awt.Graphics2D g)
protected void
LineStringEndpointStyle. paintLineString(LineString lineString, int lineType, Viewport viewport, java.awt.Graphics2D graphics)
protected abstract void
LineStringStyle. paintLineString(LineString lineString, int lineType, Viewport viewport, java.awt.Graphics2D graphics)
protected void
PolygonStructureStyle. paintLineString(LineString lineString, int lineType, Viewport viewport, java.awt.Graphics2D gr)
protected void
SegmentStyle. paintLineString(LineString lineString, int lineType, Viewport viewport, java.awt.Graphics2D graphics)
-
Uses of LineString in org.locationtech.jtstest.util.io
Methods in org.locationtech.jtstest.util.io with parameters of type LineString Modifier and Type Method Description private void
SVGWriter. appendLineString(LineString lineString, int level, boolean doIndent, java.io.Writer writer)
Converts aLineString
to <LineString Text> format, then appends it to the writer.private void
SVGWriter. appendLineStringTaggedText(LineString lineString, int level, java.io.Writer writer)
Converts aLineString
to <LineString Tagged Text> format, then appends it to the writer.
-