Package | Description |
---|---|
org.locationtech.jts.algorithm |
Contains classes and interfaces implementing fundamental computational geometry algorithms.
|
org.locationtech.jts.densify |
Classes to perform densification on geometries.
|
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 |
Provides classes for implementing operations on geometries
|
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.jts.util |
Contains support classes for the Java Topology Suite.
|
org.locationtech.jtsexample.geom | |
org.locationtech.jtstest.test | |
org.locationtech.jtstest.testbuilder | |
org.locationtech.jtstest.testbuilder.model | |
org.locationtech.jtstest.testbuilder.ui | |
org.locationtech.jtstest.testbuilder.ui.tools | |
org.locationtech.jtstest.testrunner | |
org.locationtech.jtstest.util.io |
Modifier and Type | Field and Description |
---|---|
protected PrecisionModel |
LineIntersector.precisionModel
If makePrecise is true, computed intersection coordinates will be made precise
using Coordinate#makePrecise
|
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 |
---|---|
private static Coordinate[] |
Densifier.densifyPoints(Coordinate[] pts,
double distanceTolerance,
PrecisionModel precModel)
Densifies a coordinate sequence.
|
Modifier and Type | Field and Description |
---|---|
private PrecisionModel |
GeometryFactory.precisionModel |
Modifier and Type | Method and Description |
---|---|
PrecisionModel |
GeometryFactory.getPrecisionModel()
Returns the PrecisionModel that Geometries created by this factory
will be associated with.
|
PrecisionModel |
Geometry.getPrecisionModel()
Returns the
PrecisionModel used by the Geometry . |
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 | Field and Description |
---|---|
private PrecisionModel |
WKTReader.precisionModel |
private PrecisionModel |
WKBReader.precisionModel |
Modifier and Type | Method and Description |
---|---|
private void |
WKTWriter.appendPointTaggedText(Coordinate coordinate,
int level,
java.io.Writer writer,
PrecisionModel precisionModel)
Converts a
Coordinate to <Point Tagged Text> format,
then appends it to the writer. |
private void |
WKTWriter.appendPointText(Coordinate coordinate,
int level,
java.io.Writer writer,
PrecisionModel precisionModel)
Converts a
Coordinate to <Point Text> format, then
appends it to the writer. |
private static java.text.DecimalFormat |
WKTWriter.createFormatter(PrecisionModel precisionModel)
Creates the
DecimalFormat used to write double s
with a sufficient number of decimal places. |
Modifier and Type | Field and Description |
---|---|
private PrecisionModel |
IteratedNoder.pm |
Constructor and Description |
---|
IteratedNoder(PrecisionModel pm) |
Modifier and Type | Field and Description |
---|---|
private PrecisionModel |
SimpleSnapRounder.pm |
private PrecisionModel |
MCIndexSnapRounder.pm |
private PrecisionModel |
GeometryNoder.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) |
SimpleSnapRounder(PrecisionModel pm) |
Modifier and Type | Field and Description |
---|---|
protected PrecisionModel |
GeometryGraphOperation.resultPrecisionModel |
Modifier and Type | Method and Description |
---|---|
protected void |
GeometryGraphOperation.setComputationPrecision(PrecisionModel pm) |
Modifier and Type | Field and Description |
---|---|
private PrecisionModel |
OffsetSegmentString.precisionModel |
private PrecisionModel |
OffsetSegmentGenerator.precisionModel |
private PrecisionModel |
OffsetCurveBuilder.precisionModel |
private PrecisionModel |
BufferBuilder.workingPrecisionModel |
Modifier and Type | Method and Description |
---|---|
private void |
BufferOp.bufferFixedPrecision(PrecisionModel fixedPM) |
private void |
BufferBuilder.computeNodedEdges(java.util.List bufferSegStrList,
PrecisionModel precisionModel) |
private Noder |
BufferBuilder.getNoder(PrecisionModel precisionModel) |
void |
OffsetSegmentString.setPrecisionModel(PrecisionModel precisionModel) |
void |
BufferBuilder.setWorkingPrecisionModel(PrecisionModel pm)
Sets the precision model to use during the curve computation and noding,
if it is different to the precision model of the Geometry.
|
Constructor and Description |
---|
OffsetCurveBuilder(PrecisionModel precisionModel,
BufferParameters bufParams) |
OffsetSegmentGenerator(PrecisionModel precisionModel,
BufferParameters bufParams,
double distance) |
Modifier and Type | Field and Description |
---|---|
private PrecisionModel |
SimpleGeometryPrecisionReducer.newPrecisionModel
Deprecated.
|
private PrecisionModel |
CoordinatePrecisionReducerFilter.precModel |
private PrecisionModel |
PrecisionReducerCoordinateOperation.targetPM |
private PrecisionModel |
GeometryPrecisionReducer.targetPM |
Modifier and Type | Method and Description |
---|---|
private Geometry |
GeometryPrecisionReducer.changePM(Geometry geom,
PrecisionModel newPM)
Duplicates a geometry to one that uses a different PrecisionModel,
without changing any coordinate values.
|
private GeometryEditor |
GeometryPrecisionReducer.createEditor(GeometryFactory geomFactory,
PrecisionModel newPM) |
private GeometryFactory |
GeometryPrecisionReducer.createFactory(GeometryFactory inputFactory,
PrecisionModel pm) |
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)
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 |
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 and Description |
---|
CoordinatePrecisionReducerFilter(PrecisionModel precModel)
Creates a new precision reducer filter.
|
GeometryPrecisionReducer(PrecisionModel pm) |
PrecisionReducerCoordinateOperation(PrecisionModel targetPM,
boolean removeCollapsed) |
SimpleGeometryPrecisionReducer(PrecisionModel pm)
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
protected PrecisionModel |
GeometricShapeFactory.precModel |
Modifier and Type | Method and Description |
---|---|
void |
PrecisionModelExample.difference(java.lang.String wktA,
java.lang.String wktB,
PrecisionModel pm) |
void |
PrecisionModelExample.intersection(java.lang.String wktA,
java.lang.String wktB,
PrecisionModel pm) |
Modifier and Type | Field and Description |
---|---|
private PrecisionModel |
TestCase.pm |
Modifier and Type | Method and Description |
---|---|
TestCase |
TestCase.setPrecisionModel(PrecisionModel pm) |
Modifier and Type | Field and Description |
---|---|
private PrecisionModel |
PrecisionModelPanel.precisionModel |
Modifier and Type | Method and Description |
---|---|
PrecisionModel |
PrecisionModelPanel.getPrecisionModel() |
PrecisionModel |
PrecisionModelDialog.getPrecisionModel() |
static PrecisionModel |
JTSTestBuilder.getPrecisionModel() |
Modifier and Type | Method and Description |
---|---|
void |
PrecisionModelPanel.setPrecisionModel(PrecisionModel precisionModel) |
void |
PrecisionModelDialog.setPrecisionModel(PrecisionModel precisionModel) |
Modifier and Type | Field and Description |
---|---|
private PrecisionModel |
TestBuilderModel.precisionModel |
Modifier and Type | Method and Description |
---|---|
PrecisionModel |
TestBuilderModel.getPrecisionModel() |
Modifier and Type | Method and Description |
---|---|
void |
TestBuilderModel.changePrecisionModel(PrecisionModel precisionModel) |
static java.lang.String |
XMLTestWriter.getRunXml(TestCaseList tcList,
PrecisionModel precModel) |
private java.lang.String |
HtmlWriter.htmlTitle(PrecisionModel precisionModel) |
private java.lang.String |
HtmlWriter.indexHtml(java.util.List runs,
java.util.Map runMap,
PrecisionModel precisionModel) |
(package private) void |
TestBuilderModel.loadTestCaseList(TestCaseList tcl,
PrecisionModel precisionModel) |
void |
TestBuilderModel.setPrecisionModel(PrecisionModel precisionModel) |
static java.lang.String |
XMLTestWriter.toXML(PrecisionModel precisionModel) |
void |
PNGWriter.write(java.io.File outputDirectory,
TestCaseEdit testCase,
PrecisionModel precisionModel) |
void |
HtmlWriter.write(java.io.File outputDirectory,
TestCaseList testCaseList,
PrecisionModel precisionModel) |
Constructor and Description |
---|
TestCaseEdit(PrecisionModel pm) |
Modifier and Type | Field and Description |
---|---|
private PrecisionModel |
Viewport.scalePM |
Modifier and Type | Method and Description |
---|---|
PrecisionModel |
Viewport.getGridPrecisionModel()
Gets a PrecisionModel corresponding to the grid size.
|
Modifier and Type | Field and Description |
---|---|
private PrecisionModel |
BasicTool.gridPM |
Modifier and Type | Field and Description |
---|---|
private PrecisionModel |
TestRun.precisionModel |
Modifier and Type | Method and Description |
---|---|
private PrecisionModel |
TestReader.createPrecisionModel(org.jdom2.Element precisionModelElement) |
PrecisionModel |
TestRun.getPrecisionModel() |
private PrecisionModel |
TestReader.parsePrecisionModel(org.jdom2.Element runElement)
Parses an optional precisionModel element.
|
Constructor and Description |
---|
TestRun(java.lang.String description,
int runIndex,
PrecisionModel precisionModel,
GeometryOperation geomOp,
ResultMatcher resultMatcher,
java.io.File testFile) |
Modifier and Type | Method and Description |
---|---|
private void |
SVGWriter.appendPoint(Coordinate coordinate,
int level,
java.io.Writer writer,
PrecisionModel precisionModel)
Converts a
Coordinate to <Point Text> format, then
appends it to the writer. |
private void |
SVGWriter.appendPointTaggedText(Coordinate coordinate,
int level,
java.io.Writer writer,
PrecisionModel precisionModel)
Converts a
Coordinate to <Point Tagged Text> format,
then appends it to the writer. |
private static java.text.DecimalFormat |
SVGWriter.createFormatter(PrecisionModel precisionModel)
Creates the
DecimalFormat used to write double s
with a sufficient number of decimal places. |