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 the
Geometry 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 geometries
|
org.locationtech.jts.operation |
Provides classes for implementing operations on geometries
|
org.locationtech.jts.operation.buffer |
Provides classes for computing buffers of geometries
|
org.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 geometries
|
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.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 |
Modifier and Type | Method and Description |
---|---|
LineString |
MinimumDiameter.getDiameter()
Gets a
LineString which is a minimum diameter |
LineString |
MinimumDiameter.getSupportingSegment()
Gets the segment forming the base of the minimum diameter
|
protected LineString |
InteriorPointArea.horizontalBisector(Geometry geometry) |
Modifier and Type | Method and Description |
---|---|
private int |
PointLocator.locateOnLineString(Coordinate p,
LineString l) |
private void |
InteriorPointArea.SafeBisectorFinder.process(LineString line) |
Modifier and Type | Method and Description |
---|---|
static void |
DistanceToPoint.computeDistance(LineString line,
Coordinate pt,
PointPairDistance ptDist) |
Modifier and Type | Method and Description |
---|---|
private java.awt.geom.GeneralPath |
ShapeWriter.toShape(LineString lineString) |
Modifier and Type | Method and Description |
---|---|
private void |
LineDissolver.add(LineString lineString) |
Modifier and Type | Method and Description |
---|---|
private void |
EdgeGraphBuilder.add(LineString lineString) |
Modifier and Type | Class and Description |
---|---|
class |
LinearRing
Models an OGC SFS
LinearRing . |
Modifier and Type | Method and Description |
---|---|
LineString |
LineString.copy()
Creates and returns a full copy of this
LineString 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 segment
|
static LineString[] |
GeometryFactory.toLineStringArray(java.util.Collection lineStrings)
Converts the
List to an array. |
Modifier and Type | Method and Description |
---|---|
MultiLineString |
GeometryFactory.createMultiLineString(LineString[] lineStrings)
Creates a MultiLineString using the given LineStrings; a null or empty
array will create an empty MultiLineString.
|
Constructor and Description |
---|
MultiLineString(LineString[] lineStrings,
GeometryFactory factory) |
MultiLineString(LineString[] lineStrings,
PrecisionModel precisionModel,
int SRID)
Deprecated.
Use GeometryFactory instead
|
Modifier and Type | Method and Description |
---|---|
protected Geometry |
GeometryTransformer.transformLineString(LineString geom,
Geometry parent)
Transforms a
LineString geometry. |
Modifier and Type | Method and Description |
---|---|
private void |
GeometryGraph.addLineString(LineString line) |
Edge |
GeometryGraph.findEdge(LineString line) |
Modifier and Type | Method and Description |
---|---|
private LineString |
WKBReader.readLineString() |
private LineString |
WKTReader.readLineStringText()
Creates a
LineString using the next token in the stream. |
Modifier and Type | Method and Description |
---|---|
private void |
WKTWriter.appendLineStringTaggedText(LineString lineString,
int level,
java.io.Writer writer)
Converts a
LineString 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 a
LineString to <LineString Text> format, then
appends it to the writer. |
private void |
WKBWriter.writeLineString(LineString line,
OutStream os) |
Modifier and Type | Method and Description |
---|---|
private void |
GMLWriter.writeLineString(LineString ls,
java.io.Writer writer,
int level) |
Modifier and Type | Method and Description |
---|---|
private void |
KMLWriter.writeLineString(LineString ls,
java.lang.String attributes,
int level,
java.lang.StringBuffer buf) |
Modifier and Type | Field and Description |
---|---|
private LineString |
LinearIterator.currentLine
Invariant: currentLine <> null if the iterator is pointing at a valid coordinate
|
Modifier and Type | Method and Description |
---|---|
private LineString |
ExtractLineByLocation.computeLine(LinearLocation start,
LinearLocation end)
Assumes input is valid (e.g.
|
LineString |
LinearIterator.getLine()
Gets the
LineString component the iterator is current at. |
Modifier and Type | Method and Description |
---|---|
private Geometry |
BoundaryOp.boundaryLineString(LineString line) |
boolean |
IsSimpleOp.isSimple(LineString geom)
Deprecated.
use isSimple()
|
Modifier and Type | Method and Description |
---|---|
private void |
OffsetCurveSetBuilder.addLineString(LineString line) |
Modifier and Type | Method and Description |
---|---|
static void |
DistanceToPointFinder.computeDistance(LineString line,
Coordinate pt,
PointPairDistance ptDist) |
Modifier and Type | Method and Description |
---|---|
private void |
DistanceOp.computeMinDistance(LineString line0,
LineString line1,
GeometryLocation[] locGeom) |
private void |
DistanceOp.computeMinDistance(LineString line,
Point pt,
GeometryLocation[] locGeom) |
Modifier and Type | Method and 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) |
Modifier and Type | Field and Description |
---|---|
private LineString |
LineMergeEdge.line |
Modifier and Type | Method and 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.
|
Modifier and Type | Method and 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) |
Constructor and Description |
---|
LineMergeEdge(LineString line)
Constructs a LineMergeEdge with vertices given by the specified LineString.
|
Constructor and Description |
---|
LineStringSnapper(LineString srcLine,
double snapTolerance)
Creates a new snapper using the points in the given
LineString
as source snap points. |
Modifier and Type | Method and Description |
---|---|
private void |
OffsetPointGenerator.extractPoints(LineString line,
double offsetDistance,
java.util.List offsetPts) |
Modifier and Type | Field and Description |
---|---|
private LineString |
PolygonizeEdge.line |
Modifier and Type | Method and Description |
---|---|
LineString |
PolygonizeEdge.getLine() |
LineString |
EdgeRing.getLineString()
Gets the coordinates for this ring as a
LineString . |
Modifier and Type | Method and Description |
---|---|
private void |
Polygonizer.add(LineString line)
Adds a linestring to the graph of polygon edges.
|
void |
PolygonizeGraph.addEdge(LineString line)
Add a
LineString forming an edge of the polygon graph. |
Constructor and Description |
---|
PolygonizeEdge(LineString line) |
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
private void |
IsValidOp.checkValid(LineString g)
Checks validity of a LineString.
|
private void |
ConnectedInteriorTester.visitInteriorRing(LineString ring,
PlanarGraph graph) |
Modifier and Type | Method and Description |
---|---|
LineString |
SimpleMinimumClearance.getLine() |
LineString |
MinimumClearance.getLine()
Gets a LineString containing two points
which are at the Minimum Clearance distance.
|
Modifier and Type | Field and Description |
---|---|
private LineString |
TaggedLineString.parentLine |
Modifier and Type | Method and Description |
---|---|
LineString |
TaggedLineString.asLineString() |
LineString |
TaggedLineString.getParent() |
Constructor and Description |
---|
TaggedLineString(LineString parentLine) |
TaggedLineString(LineString parentLine,
int minimumSize) |
Modifier and Type | Method and Description |
---|---|
private static void |
ConformingDelaunayTriangulationBuilder.createConstraintSegments(LineString line,
java.util.List constraintSegs) |
Modifier and Type | Method and Description |
---|---|
LineString |
GeometricShapeFactory.createArc(double startAng,
double angExtent)
Creates an elliptical arc, as a
LineString . |
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) |
Modifier and Type | Method and Description |
---|---|
static Geometry |
LineStringSelfIntersections.lineStringSelfIntersections(LineString line) |
static void |
LineStringSelfIntersections.showSelfIntersections(LineString line) |
Modifier and Type | Method and Description |
---|---|
private LineString |
CleanDuplicatePoints.clean(LineString g) |
Modifier and Type | Method and Description |
---|---|
private LineString |
CleanDuplicatePoints.clean(LineString g) |
Modifier and Type | Method and Description |
---|---|
private static LineString |
LineHandlingFunctions.extractChain(LineString line,
int index,
int maxChainSize) |
Modifier and Type | Method and Description |
---|---|
private static LineString |
LineHandlingFunctions.extractChain(LineString line,
int index,
int maxChainSize) |
Modifier and Type | Field and Description |
---|---|
private LineString |
LineStringNode.line |
Constructor and Description |
---|
LineStringNode(LineString line,
GeometryContext context) |
LineStringNode(LineString line,
java.lang.String tag,
GeometryContext context) |
Modifier and Type | Field and Description |
---|---|
private LineString |
GeometryVertexInserter.InsertVertexOperation.line |
private LineString |
GeometryVertexDeleter.DeleteVertexOperation.line |
Modifier and Type | Method and 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) |
Constructor and Description |
---|
DeleteVertexOperation(LineString line,
int vertexIndex) |
InsertVertexOperation(LineString line,
int segIndex,
Coordinate newVertex) |
Modifier and Type | Method and Description |
---|---|
private void |
StretchedVertexFinder.findNearVertex(Coordinate[] targetPts,
int index,
LineString testLine)
Finds a single near vertex.
|
private void |
StretchedVertexFinder.findNearVertices(LineString targetLine) |
Modifier and Type | Method and Description |
---|---|
void |
LineStringStyle.paint(LineString line,
int lineType,
Viewport viewport,
java.awt.Graphics2D g) |
protected void |
SegmentStyle.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 abstract void |
LineStringStyle.paintLineString(LineString lineString,
int lineType,
Viewport viewport,
java.awt.Graphics2D graphics) |
protected void |
LineStringEndpointStyle.paintLineString(LineString lineString,
int lineType,
Viewport viewport,
java.awt.Graphics2D graphics) |
Modifier and Type | Method and Description |
---|---|
private void |
SVGWriter.appendLineString(LineString lineString,
int level,
boolean doIndent,
java.io.Writer writer)
Converts a
LineString to <LineString Text> format, then
appends it to the writer. |
private void |
SVGWriter.appendLineStringTaggedText(LineString lineString,
int level,
java.io.Writer writer)
Converts a
LineString to <LineString Tagged Text>
format, then appends it to the writer. |