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.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.precision |
Provides classes for analyzing and
manipulating the precision of Geometries.
|
org.locationtech.jtslab.snapround |
Modifier and Type | Method | 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 | 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 | 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 | 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. |
Constructor | Description |
---|---|
IteratedNoder(PrecisionModel pm) |
Constructor | Description |
---|---|
GeometryNoder(PrecisionModel pm) |
Creates a new noder which snap-rounds to a grid specified
by the given
PrecisionModel . |
MCIndexSnapRounder(PrecisionModel pm) |
|
SimpleSnapRounder(PrecisionModel pm) |
Constructor | Description |
---|---|
OffsetCurveBuilder(PrecisionModel precisionModel,
BufferParameters bufParams) |
Modifier and Type | Method | Description |
---|---|---|
static Geometry |
GeometryPrecisionReducer.reduce(Geometry g,
PrecisionModel precModel) |
Convenience method for doing precision reduction
on a single geometry,
with collapses removed
and keeping the geometry precision model the same,
and preserving polygonal topology.
|
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.reducePointwise(Geometry g,
PrecisionModel precModel) |
Convenience method for doing pointwise precision reduction
on a single geometry,
with collapses removed
and keeping the geometry precision model the same,
but NOT preserving valid polygonal topology.
|
Constructor | Description |
---|---|
CoordinatePrecisionReducerFilter(PrecisionModel precModel) |
Creates a new precision reducer filter.
|
GeometryPrecisionReducer(PrecisionModel pm) |
|
PrecisionReducerCoordinateOperation(PrecisionModel targetPM,
boolean removeCollapsed) |
|
SimpleGeometryPrecisionReducer(PrecisionModel pm) |
Deprecated.
|
Constructor | Description |
---|---|
GeometrySnapRounder(PrecisionModel pm) |
Creates a new snap-rounder which snap-rounds to a grid specified
by the given
PrecisionModel . |
Copyright © 2018. All rights reserved.