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 theGeometryinterface 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 LineStringMinimumDiameter. getDiameter()Gets aLineStringwhich is a minimum diameterLineStringMinimumDiameter. getSupportingSegment()Gets the segment forming the base of the minimum diameterprotected LineStringInteriorPointArea. horizontalBisector(Geometry geometry)Methods in org.locationtech.jts.algorithm with parameters of type LineString Modifier and Type Method Description private intPointLocator. locateOnLineString(Coordinate p, LineString l)private voidInteriorPointArea.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 voidDistanceToPoint. 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.GeneralPathShapeWriter. 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 voidLineDissolver. 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 voidEdgeGraphBuilder. add(LineString lineString) -
Uses of LineString in org.locationtech.jts.geom
Subclasses of LineString in org.locationtech.jts.geom Modifier and Type Class Description classLinearRingModels an OGC SFSLinearRing.Methods in org.locationtech.jts.geom that return LineString Modifier and Type Method Description LineStringLineString. copy()Creates and returns a full copy of thisLineStringobject.LineStringGeometryFactory. createLineString()LineStringGeometryFactory. createLineString(Coordinate[] coordinates)Creates a LineString using the given Coordinates.LineStringGeometryFactory. createLineString(CoordinateSequence coordinates)Creates a LineString using the given CoordinateSequence.LineStringPolygon. getExteriorRing()LineStringPolygon. getInteriorRingN(int n)LineStringLineSegment. toGeometry(GeometryFactory geomFactory)Creates a LineString with the same coordinates as this segmentstatic LineString[]GeometryFactory. toLineStringArray(java.util.Collection lineStrings)Converts theListto an array.Methods in org.locationtech.jts.geom with parameters of type LineString Modifier and Type Method Description MultiLineStringGeometryFactory. 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 GeometryGeometryTransformer. transformLineString(LineString geom, Geometry parent)Transforms aLineStringgeometry. -
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 voidGeometryGraph. addLineString(LineString line)EdgeGeometryGraph. 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 LineStringWKBReader. readLineString()private LineStringWKTReader. readLineStringText()Creates aLineStringusing the next token in the stream.Methods in org.locationtech.jts.io with parameters of type LineString Modifier and Type Method Description private voidWKTWriter. appendLineStringTaggedText(LineString lineString, int level, java.io.Writer writer)Converts aLineStringto <LineString Tagged Text> format, then appends it to the writer.private voidWKTWriter. appendLineStringText(LineString lineString, int level, boolean doIndent, java.io.Writer writer)Converts aLineStringto <LineString Text> format, then appends it to the writer.private voidWKBWriter. 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 voidGMLWriter. 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 voidKMLWriter. 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 LineStringLinearIterator. currentLineInvariant: 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 LineStringExtractLineByLocation. computeLine(LinearLocation start, LinearLocation end)Assumes input is valid (e.g.LineStringLinearIterator. getLine()Gets theLineStringcomponent 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 GeometryBoundaryOp. boundaryLineString(LineString line)booleanIsSimpleOp. 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 voidOffsetCurveSetBuilder. 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 voidDistanceToPointFinder. 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 voidDistanceOp. computeMinDistance(LineString line0, LineString line1, GeometryLocation[] locGeom)private voidDistanceOp. 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 voidDistance3DOp. computeMinDistanceLineLine(LineString line0, LineString line1, boolean flip)private voidDistance3DOp. computeMinDistanceLinePoint(LineString line, Point point, boolean flip)private voidDistance3DOp. computeMinDistancePolygonLine(PlanarPolygon3D poly, LineString line, boolean flip)private CoordinateDistance3DOp. intersection(PlanarPolygon3D poly, LineString line)booleanPlanarPolygon3D. intersects(Coordinate pt, LineString ring)private intPlanarPolygon3D. 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 LineStringLineMergeEdge. lineMethods in org.locationtech.jts.operation.linemerge that return LineString Modifier and Type Method Description LineStringLineMergeEdge. getLine()Returns the LineString specifying the vertices of this edge.private static LineStringLineSequencer. reverse(LineString line)LineStringEdgeString. 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 voidLineMerger. add(LineString lineString)voidLineMergeGraph. addEdge(LineString lineString)Adds an Edge, DirectedEdges, and Nodes for the given LineString representation of an edge.private voidLineSequencer. addLine(LineString lineString)private static LineStringLineSequencer. 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 givenLineStringas 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 voidOffsetPointGenerator. 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 LineStringPolygonizeEdge. lineMethods in org.locationtech.jts.operation.polygonize that return LineString Modifier and Type Method Description LineStringPolygonizeEdge. getLine()LineStringEdgeRing. 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 voidPolygonizer. add(LineString line)Adds a linestring to the graph of polygon edges.voidPolygonizeGraph. addEdge(LineString line)Add aLineStringforming 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 voidRectangleIntersectsSegmentVisitor. checkIntersectionWithSegments(LineString testLine)private booleanRectangleContains. 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 voidIsValidOp. checkValid(LineString g)Checks validity of a LineString.private voidConnectedInteriorTester. 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 LineStringMinimumClearance. getLine()Gets a LineString containing two points which are at the Minimum Clearance distance.LineStringSimpleMinimumClearance. getLine() -
Uses of LineString in org.locationtech.jts.simplify
Fields in org.locationtech.jts.simplify declared as LineString Modifier and Type Field Description private LineStringTaggedLineString. parentLineMethods in org.locationtech.jts.simplify that return LineString Modifier and Type Method Description LineStringTaggedLineString. asLineString()LineStringTaggedLineString. 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 voidConformingDelaunayTriangulationBuilder. 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 LineStringGeometricShapeFactory. createArc(double startAng, double angExtent)Creates an elliptical arc, as aLineString.static LineStringDebug. toLine(Coordinate p0, Coordinate p1)static LineStringDebug. toLine(Coordinate p0, Coordinate p1, Coordinate p2)static LineStringDebug. 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 GeometryLineStringSelfIntersections. lineStringSelfIntersections(LineString line)static voidLineStringSelfIntersections. 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 LineStringCleanDuplicatePoints. clean(LineString g)Methods in org.locationtech.jtstest.clean with parameters of type LineString Modifier and Type Method Description private LineStringCleanDuplicatePoints. 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 LineStringLineHandlingFunctions. 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 LineStringLineHandlingFunctions. 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 LineStringLineStringNode. lineConstructors 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 LineStringGeometryVertexDeleter.DeleteVertexOperation. lineprivate LineStringGeometryVertexInserter.InsertVertexOperation. lineMethods in org.locationtech.jtstest.testbuilder.geom with parameters of type LineString Modifier and Type Method Description private voidGeometryPointLocater.NearestSegmentLocationFilter. checkSegment(LineString lineStr, CoordinateSequence seq, int i)private voidGeometryPointLocater.NearestSegmentLocationFilter. checkVertex(LineString lineStr, CoordinateSequence seq, int i)static GeometryGeometryVertexDeleter. delete(Geometry geom, LineString line, int vertexIndex)static GeometryGeometryVertexInserter. 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 voidStretchedVertexFinder. findNearVertex(Coordinate[] targetPts, int index, LineString testLine)Finds a single near vertex.private voidStretchedVertexFinder. 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 voidLineStringStyle. paint(LineString line, int lineType, Viewport viewport, java.awt.Graphics2D g)protected voidLineStringEndpointStyle. paintLineString(LineString lineString, int lineType, Viewport viewport, java.awt.Graphics2D graphics)protected abstract voidLineStringStyle. paintLineString(LineString lineString, int lineType, Viewport viewport, java.awt.Graphics2D graphics)protected voidPolygonStructureStyle. paintLineString(LineString lineString, int lineType, Viewport viewport, java.awt.Graphics2D gr)protected voidSegmentStyle. 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 voidSVGWriter. appendLineString(LineString lineString, int level, boolean doIndent, java.io.Writer writer)Converts aLineStringto <LineString Text> format, then appends it to the writer.private voidSVGWriter. appendLineStringTaggedText(LineString lineString, int level, java.io.Writer writer)Converts aLineStringto <LineString Tagged Text> format, then appends it to the writer.
-