Package | Description |
---|---|
org.locationtech.jts.algorithm |
Contains classes and interfaces implementing fundamental computational geometry algorithms.
|
org.locationtech.jts.geom |
Contains the
Geometry interface hierarchy and supporting classes. |
org.locationtech.jts.io |
Contains the interfaces for converting JTS objects to and from other formats.
|
org.locationtech.jts.noding |
Classes to compute nodings for arrangements of line segments and line segment sequences.
|
org.locationtech.jts.noding.snapround |
Contains classes to implement the Snap Rounding algorithm for noding linestrings.
|
org.locationtech.jts.operation.buffer |
Provides classes for computing buffers of geometries
|
org.locationtech.jts.operation.overlayng |
Contains classes that perform vector overlay
to compute boolean set-theoretic spatial functions.
|
org.locationtech.jts.precision |
Provides classes for analyzing and
manipulating the precision of Geometries.
|
Modifier and Type | Method and Description |
---|---|
void |
LineIntersector.setMakePrecise(PrecisionModel precisionModel)
Deprecated.
use
setPrecisionModel instead |
void |
LineIntersector.setPrecisionModel(PrecisionModel precisionModel)
Force computed intersection to be rounded to a given precision model.
|
Modifier and Type | Method and Description |
---|---|
PrecisionModel |
Geometry.getPrecisionModel()
Returns the
PrecisionModel used by the Geometry . |
PrecisionModel |
GeometryFactory.getPrecisionModel()
Returns the PrecisionModel that Geometries created by this factory
will be associated with.
|
static PrecisionModel |
PrecisionModel.mostPrecise(PrecisionModel pm1,
PrecisionModel pm2)
Determines which of two
PrecisionModel s is the most precise
(allows the greatest number of significant digits). |
Modifier and Type | Method and Description |
---|---|
static PrecisionModel |
PrecisionModel.mostPrecise(PrecisionModel pm1,
PrecisionModel pm2)
Determines which of two
PrecisionModel s is the most precise
(allows the greatest number of significant digits). |
Constructor and Description |
---|
GeometryCollection(Geometry[] geometries,
PrecisionModel precisionModel,
int SRID)
Deprecated.
Use GeometryFactory instead
|
GeometryFactory(PrecisionModel precisionModel)
Constructs a GeometryFactory that generates Geometries having the given
PrecisionModel and the default CoordinateSequence
implementation. |
GeometryFactory(PrecisionModel precisionModel,
int SRID)
Constructs a GeometryFactory that generates Geometries having the given
PrecisionModel and spatial-reference ID, and the default CoordinateSequence
implementation. |
GeometryFactory(PrecisionModel precisionModel,
int SRID,
CoordinateSequenceFactory coordinateSequenceFactory)
Constructs a GeometryFactory that generates Geometries having the given
PrecisionModel, spatial-reference ID, and CoordinateSequence implementation.
|
LinearRing(Coordinate[] points,
PrecisionModel precisionModel,
int SRID)
Deprecated.
Use GeometryFactory instead
|
LineString(Coordinate[] points,
PrecisionModel precisionModel,
int SRID)
Deprecated.
Use GeometryFactory instead
|
MultiLineString(LineString[] lineStrings,
PrecisionModel precisionModel,
int SRID)
Deprecated.
Use GeometryFactory instead
|
MultiPoint(Point[] points,
PrecisionModel precisionModel,
int SRID)
Deprecated.
Use GeometryFactory instead
|
MultiPolygon(Polygon[] polygons,
PrecisionModel precisionModel,
int SRID)
Deprecated.
Use GeometryFactory instead
|
Point(Coordinate coordinate,
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
|
PrecisionModel(PrecisionModel pm)
Copy constructor to create a new
PrecisionModel
from an existing one. |
Modifier and Type | Method and Description |
---|---|
void |
WKTWriter.setPrecisionModel(PrecisionModel precisionModel)
Sets a
PrecisionModel that should be used on the ordinates written. |
Constructor and Description |
---|
IteratedNoder(PrecisionModel pm) |
Constructor and Description |
---|
GeometryNoder(PrecisionModel pm)
Creates a new noder which snap-rounds to a grid specified
by the given
PrecisionModel . |
MCIndexSnapRounder(PrecisionModel pm)
Deprecated.
|
SnapRoundingNoder(PrecisionModel pm) |
Constructor and Description |
---|
BufferCurveSetBuilder(Geometry inputGeom,
double distance,
PrecisionModel precisionModel,
BufferParameters bufParams) |
OffsetCurveBuilder(PrecisionModel precisionModel,
BufferParameters bufParams) |
Modifier and Type | Method and Description |
---|---|
static PrecisionModel |
PrecisionUtil.robustPM(Geometry a)
Determines a precision model to
use for robust overlay operations for one geometry.
|
static PrecisionModel |
PrecisionUtil.robustPM(Geometry a,
Geometry b)
Determines a precision model to
use for robust overlay operations.
|
Modifier and Type | Method and Description |
---|---|
static Geometry |
OverlayNG.overlay(Geometry geom0,
Geometry geom1,
int opCode,
PrecisionModel pm)
Computes an overlay operation for
the given geometry operands, with the
noding strategy determined by the precision model.
|
static Geometry |
OverlayNG.overlay(Geometry geom0,
Geometry geom1,
int opCode,
PrecisionModel pm,
Noder noder)
Computes an overlay operation on the given geometry operands,
using a supplied
Noder . |
static Geometry |
PrecisionReducer.reducePrecision(Geometry geom,
PrecisionModel pm)
Reduces the precision of a geometry by rounding and snapping it to the
supplied
PrecisionModel . |
static Geometry |
UnaryUnionNG.union(Collection<Geometry> geoms,
GeometryFactory geomFact,
PrecisionModel pm)
Unions a collection of geometries
using a given precision model.
|
static Geometry |
UnaryUnionNG.union(Collection<Geometry> geoms,
PrecisionModel pm)
Unions a collection of geometries
using a given precision model.
|
static Geometry |
UnaryUnionNG.union(Geometry geom,
PrecisionModel pm)
Unions a geometry (which is often a collection)
using a given precision model.
|
Constructor and Description |
---|
OverlayNG(Geometry geom0,
Geometry geom1,
PrecisionModel pm,
int opCode)
Creates an overlay operation on the given geometries,
with a defined precision model.
|
Modifier and Type | Method and Description |
---|---|
static Geometry |
SimpleGeometryPrecisionReducer.reduce(Geometry g,
PrecisionModel precModel)
Deprecated.
Convenience method for doing precision reduction on a single geometry,
with collapses removed and keeping the geometry precision model the same.
|
static Geometry |
GeometryPrecisionReducer.reduce(Geometry g,
PrecisionModel precModel)
Reduces precision of a geometry, ensuring output geometry is valid.
|
static Geometry |
GeometryPrecisionReducer.reduceKeepCollapsed(Geometry geom,
PrecisionModel pm)
Reduces precision of a geometry, ensuring output polygonal geometry is valid,
and preserving collapsed linear elements.
|
static Geometry |
GeometryPrecisionReducer.reducePointwise(Geometry g,
PrecisionModel precModel)
Reduce precision of a geometry in a pointwise way.
|
Constructor and Description |
---|
CoordinatePrecisionReducerFilter(PrecisionModel precModel)
Creates a new precision reducer filter.
|
GeometryPrecisionReducer(PrecisionModel pm) |
PrecisionReducerCoordinateOperation(PrecisionModel targetPM,
boolean removeCollapsed) |
SimpleGeometryPrecisionReducer(PrecisionModel pm)
Deprecated.
|
Copyright © 2022. All rights reserved.