Package | Description |
---|---|
org.locationtech.jts.algorithm |
Contains classes and interfaces implementing fundamental computational geometry algorithms.
|
org.locationtech.jts.algorithm.locate |
Classes to determine the topological location of points in geometries.
|
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.operation.buffer |
Provides classes for computing buffers of geometries
|
org.locationtech.jts.operation.polygonize |
An API for polygonizing sets of lines.
|
org.locationtech.jts.operation.valid |
Provides classes for testing the validity of geometries.
|
org.locationtech.jts.shape.fractal | |
org.locationtech.jts.simplify |
Classes which implement algorithms for simplifying or generalizing geometries.
|
org.locationtech.jtsexample.io.gml2 | |
org.locationtech.jtstest.clean | |
org.locationtech.jtstest.testbuilder | |
org.locationtech.jtstest.testbuilder.geom | |
org.locationtech.jtstest.util.io |
Modifier and Type | Method and Description |
---|---|
private int |
PointLocator.locateInPolygonRing(Coordinate p,
LinearRing ring) |
Modifier and Type | Method and Description |
---|---|
private static int |
SimplePointInAreaLocator.locatePointInRing(Coordinate p,
LinearRing ring)
Determines whether a point lies in a LinearRing,
using the ring envelope to short-circuit if possible.
|
Modifier and Type | Field and Description |
---|---|
protected LinearRing[] |
Polygon.holes
The interior boundaries, if any.
|
protected LinearRing |
Polygon.shell
The exterior boundary,
or
null if this Polygon
is empty. |
Modifier and Type | Method and Description |
---|---|
LinearRing |
LinearRing.copy() |
LinearRing |
GeometryFactory.createLinearRing() |
LinearRing |
GeometryFactory.createLinearRing(Coordinate[] coordinates)
Creates a
LinearRing using the given Coordinate s. |
LinearRing |
GeometryFactory.createLinearRing(CoordinateSequence coordinates)
Creates a
LinearRing using the given CoordinateSequence . |
static LinearRing[] |
GeometryFactory.toLinearRingArray(java.util.Collection linearRings)
Converts the
List to an array. |
Modifier and Type | Method and Description |
---|---|
Polygon |
GeometryFactory.createPolygon(LinearRing shell)
Constructs a
Polygon with the given exterior boundary. |
Polygon |
GeometryFactory.createPolygon(LinearRing shell,
LinearRing[] holes)
Constructs a
Polygon with the given exterior boundary and
interior boundaries. |
Polygon |
GeometryFactory.createPolygon(LinearRing shell,
LinearRing[] holes)
Constructs a
Polygon with the given exterior boundary and
interior boundaries. |
private void |
Polygon.normalize(LinearRing ring,
boolean clockwise) |
Constructor and Description |
---|
Polygon(LinearRing shell,
LinearRing[] holes,
GeometryFactory factory)
Constructs a
Polygon with the given exterior boundary and
interior boundaries. |
Polygon(LinearRing shell,
LinearRing[] holes,
GeometryFactory factory)
Constructs a
Polygon with the given exterior boundary and
interior boundaries. |
Polygon(LinearRing shell,
LinearRing[] holes,
PrecisionModel precisionModel,
int SRID)
Deprecated.
Use GeometryFactory instead
|
Polygon(LinearRing shell,
LinearRing[] holes,
PrecisionModel precisionModel,
int SRID)
Deprecated.
Use GeometryFactory instead
|
Polygon(LinearRing shell,
PrecisionModel precisionModel,
int SRID)
Deprecated.
Use GeometryFactory instead
|
Modifier and Type | Method and Description |
---|---|
protected Geometry |
GeometryTransformer.transformLinearRing(LinearRing geom,
Geometry parent)
Transforms a LinearRing.
|
Modifier and Type | Field and Description |
---|---|
private LinearRing |
EdgeRing.ring |
Modifier and Type | Method and Description |
---|---|
LinearRing |
EdgeRing.getLinearRing() |
Modifier and Type | Method and Description |
---|---|
private void |
GeometryGraph.addPolygonRing(LinearRing lr,
int cwLeft,
int cwRight)
Adds a polygon ring to the graph.
|
Modifier and Type | Method and Description |
---|---|
private LinearRing |
WKBReader.readLinearRing() |
private LinearRing |
WKTReader.readLinearRingText()
Creates a
LinearRing using the next token in the stream. |
Modifier and Type | Method and Description |
---|---|
private void |
WKTWriter.appendLinearRingTaggedText(LinearRing linearRing,
int level,
java.io.Writer writer)
Converts a
LinearRing to <LinearRing Tagged Text>
format, then appends it to the writer. |
Modifier and Type | Method and Description |
---|---|
private void |
GMLWriter.writeLinearRing(LinearRing lr,
java.io.Writer writer,
int level) |
Modifier and Type | Method and Description |
---|---|
private void |
KMLWriter.writeLinearRing(LinearRing lr,
java.lang.String attributes,
boolean writeModifiers,
int level,
java.lang.StringBuffer buf) |
Modifier and Type | Method and Description |
---|---|
private boolean |
OffsetCurveSetBuilder.isErodedCompletely(LinearRing ring,
double bufferDistance)
The ringCoord is assumed to contain no repeated points.
|
Modifier and Type | Field and Description |
---|---|
private LinearRing |
EdgeRing.ring |
Modifier and Type | Method and Description |
---|---|
LinearRing |
EdgeRing.getRing()
Returns this ring as a
LinearRing , or null if an Exception occurs while
creating it (such as a topology problem). |
Modifier and Type | Method and Description |
---|---|
void |
EdgeRing.addHole(LinearRing hole)
Adds a hole to the polygon formed by this ring.
|
Modifier and Type | Method and Description |
---|---|
void |
IndexedNestedRingTester.add(LinearRing ring) |
private void |
IsValidOp.checkClosedRing(LinearRing ring) |
private Coordinate |
IsValidOp.checkShellInsideHole(LinearRing shell,
LinearRing hole,
GeometryGraph graph)
This routine checks to see if a shell is properly contained in a hole.
|
private void |
IsValidOp.checkShellNotNested(LinearRing shell,
Polygon p,
GeometryGraph graph)
Check if a shell is incorrectly nested within a polygon.
|
private void |
IsValidOp.checkValid(LinearRing g)
Checks validity of a LinearRing.
|
static Coordinate |
IsValidOp.findPtNotNode(Coordinate[] testCoords,
LinearRing searchRing,
GeometryGraph graph)
Find a point from the list of testCoords
that is NOT a node in the edge for the list of searchCoords
|
Modifier and Type | Method and Description |
---|---|
private LinearRing |
SierpinskiCarpetBuilder.createSquareHole(double x,
double y,
double width) |
private LinearRing[] |
SierpinskiCarpetBuilder.getHoles(int n,
double originX,
double originY,
double width) |
Modifier and Type | Method and Description |
---|---|
LinearRing |
TaggedLineString.asLinearRing() |
Modifier and Type | Method and Description |
---|---|
protected Geometry |
VWSimplifier.VWTransformer.transformLinearRing(LinearRing geom,
Geometry parent)
Simplifies a LinearRing.
|
protected Geometry |
DouglasPeuckerSimplifier.DPTransformer.transformLinearRing(LinearRing geom,
Geometry parent)
Simplifies a LinearRing.
|
Modifier and Type | Method and Description |
---|---|
LinearRing |
FixingGeometryFactory.createLinearRing(CoordinateSequence cs) |
Modifier and Type | Method and Description |
---|---|
private LinearRing |
CleanDuplicatePoints.clean(LinearRing g) |
Modifier and Type | Method and Description |
---|---|
private LinearRing |
CleanDuplicatePoints.clean(LinearRing g) |
Constructor and Description |
---|
LinearRingNode(LinearRing ring,
GeometryContext context) |
LinearRingNode(LinearRing ring,
java.lang.String tag,
GeometryContext context) |
Modifier and Type | Method and Description |
---|---|
Polygon |
GeometryCombiner.addHole(Polygon poly,
LinearRing hole) |
Modifier and Type | Method and Description |
---|---|
private void |
SVGWriter.appendLinearRingTaggedText(LinearRing linearRing,
int level,
java.io.Writer writer)
Converts a
LinearRing to <LinearRing Tagged Text>
format, then appends it to the writer. |