Uses of Class
org.locationtech.jts.geom.PrecisionModel
-
Packages that use PrecisionModel 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 theGeometry
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 geometriesorg.locationtech.jts.operation.buffer Provides classes for computing buffers of geometriesorg.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 -
-
Uses of PrecisionModel in org.locationtech.jts.algorithm
Fields in org.locationtech.jts.algorithm declared as PrecisionModel Modifier and Type Field Description protected PrecisionModel
LineIntersector. precisionModel
If makePrecise is true, computed intersection coordinates will be made precise using Coordinate#makePreciseMethods in org.locationtech.jts.algorithm with parameters of type PrecisionModel Modifier and Type Method Description void
LineIntersector. setMakePrecise(PrecisionModel precisionModel)
Deprecated.usesetPrecisionModel
insteadvoid
LineIntersector. setPrecisionModel(PrecisionModel precisionModel)
Force computed intersection to be rounded to a given precision model. -
Uses of PrecisionModel in org.locationtech.jts.densify
Methods in org.locationtech.jts.densify with parameters of type PrecisionModel Modifier and Type Method Description private static Coordinate[]
Densifier. densifyPoints(Coordinate[] pts, double distanceTolerance, PrecisionModel precModel)
Densifies a coordinate sequence. -
Uses of PrecisionModel in org.locationtech.jts.geom
Fields in org.locationtech.jts.geom declared as PrecisionModel Modifier and Type Field Description private PrecisionModel
GeometryFactory. precisionModel
Methods in org.locationtech.jts.geom that return PrecisionModel Modifier and Type Method Description PrecisionModel
Geometry. getPrecisionModel()
Returns thePrecisionModel
used by theGeometry
.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 twoPrecisionModel
s is the most precise (allows the greatest number of significant digits).Methods in org.locationtech.jts.geom with parameters of type PrecisionModel Modifier and Type Method Description static PrecisionModel
PrecisionModel. mostPrecise(PrecisionModel pm1, PrecisionModel pm2)
Determines which of twoPrecisionModel
s is the most precise (allows the greatest number of significant digits).Constructors in org.locationtech.jts.geom with parameters of type PrecisionModel Constructor Description GeometryCollection(Geometry[] geometries, PrecisionModel precisionModel, int SRID)
Deprecated.Use GeometryFactory insteadGeometryFactory(PrecisionModel precisionModel)
Constructs a GeometryFactory that generates Geometries having the givenPrecisionModel
and the default CoordinateSequence implementation.GeometryFactory(PrecisionModel precisionModel, int SRID)
Constructs a GeometryFactory that generates Geometries having the givenPrecisionModel
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 insteadLineString(Coordinate[] points, PrecisionModel precisionModel, int SRID)
Deprecated.Use GeometryFactory insteadMultiLineString(LineString[] lineStrings, PrecisionModel precisionModel, int SRID)
Deprecated.Use GeometryFactory insteadMultiPoint(Point[] points, PrecisionModel precisionModel, int SRID)
Deprecated.Use GeometryFactory insteadMultiPolygon(Polygon[] polygons, PrecisionModel precisionModel, int SRID)
Deprecated.Use GeometryFactory insteadPoint(Coordinate coordinate, PrecisionModel precisionModel, int SRID)
Deprecated.Use GeometryFactory insteadPolygon(LinearRing shell, LinearRing[] holes, PrecisionModel precisionModel, int SRID)
Deprecated.Use GeometryFactory insteadPolygon(LinearRing shell, PrecisionModel precisionModel, int SRID)
Deprecated.Use GeometryFactory insteadPrecisionModel(PrecisionModel pm)
Copy constructor to create a newPrecisionModel
from an existing one. -
Uses of PrecisionModel in org.locationtech.jts.io
Fields in org.locationtech.jts.io declared as PrecisionModel Modifier and Type Field Description private PrecisionModel
WKBReader. precisionModel
private PrecisionModel
WKTReader. precisionModel
Methods in org.locationtech.jts.io with parameters of type PrecisionModel Modifier and Type Method Description private void
WKTWriter. appendPointTaggedText(Coordinate coordinate, int level, java.io.Writer writer, PrecisionModel precisionModel)
Converts aCoordinate
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 aCoordinate
to <Point Text> format, then appends it to the writer.private static java.text.DecimalFormat
WKTWriter. createFormatter(PrecisionModel precisionModel)
Creates theDecimalFormat
used to writedouble
s with a sufficient number of decimal places. -
Uses of PrecisionModel in org.locationtech.jts.noding
Fields in org.locationtech.jts.noding declared as PrecisionModel Modifier and Type Field Description private PrecisionModel
IteratedNoder. pm
Constructors in org.locationtech.jts.noding with parameters of type PrecisionModel Constructor Description IteratedNoder(PrecisionModel pm)
-
Uses of PrecisionModel in org.locationtech.jts.noding.snapround
Fields in org.locationtech.jts.noding.snapround declared as PrecisionModel Modifier and Type Field Description private PrecisionModel
GeometryNoder. pm
private PrecisionModel
MCIndexSnapRounder. pm
private PrecisionModel
SimpleSnapRounder. pm
Constructors in org.locationtech.jts.noding.snapround with parameters of type PrecisionModel Constructor Description GeometryNoder(PrecisionModel pm)
Creates a new noder which snap-rounds to a grid specified by the givenPrecisionModel
.MCIndexSnapRounder(PrecisionModel pm)
SimpleSnapRounder(PrecisionModel pm)
-
Uses of PrecisionModel in org.locationtech.jts.operation
Fields in org.locationtech.jts.operation declared as PrecisionModel Modifier and Type Field Description protected PrecisionModel
GeometryGraphOperation. resultPrecisionModel
Methods in org.locationtech.jts.operation with parameters of type PrecisionModel Modifier and Type Method Description protected void
GeometryGraphOperation. setComputationPrecision(PrecisionModel pm)
-
Uses of PrecisionModel in org.locationtech.jts.operation.buffer
Fields in org.locationtech.jts.operation.buffer declared as PrecisionModel Modifier and Type Field Description private PrecisionModel
OffsetCurveBuilder. precisionModel
private PrecisionModel
OffsetSegmentGenerator. precisionModel
private PrecisionModel
OffsetSegmentString. precisionModel
private PrecisionModel
BufferBuilder. workingPrecisionModel
Methods in org.locationtech.jts.operation.buffer with parameters of type PrecisionModel Modifier and Type Method 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.Constructors in org.locationtech.jts.operation.buffer with parameters of type PrecisionModel Constructor Description OffsetCurveBuilder(PrecisionModel precisionModel, BufferParameters bufParams)
OffsetSegmentGenerator(PrecisionModel precisionModel, BufferParameters bufParams, double distance)
-
Uses of PrecisionModel in org.locationtech.jts.precision
Fields in org.locationtech.jts.precision declared as PrecisionModel Modifier and Type Field Description private PrecisionModel
SimpleGeometryPrecisionReducer. newPrecisionModel
Deprecated.private PrecisionModel
CoordinatePrecisionReducerFilter. precModel
private PrecisionModel
GeometryPrecisionReducer. targetPM
private PrecisionModel
PrecisionReducerCoordinateOperation. targetPM
Methods in org.locationtech.jts.precision with parameters of type PrecisionModel Modifier and Type Method 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
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.Constructors in org.locationtech.jts.precision with parameters of type PrecisionModel Constructor Description CoordinatePrecisionReducerFilter(PrecisionModel precModel)
Creates a new precision reducer filter.GeometryPrecisionReducer(PrecisionModel pm)
PrecisionReducerCoordinateOperation(PrecisionModel targetPM, boolean removeCollapsed)
SimpleGeometryPrecisionReducer(PrecisionModel pm)
Deprecated. -
Uses of PrecisionModel in org.locationtech.jts.util
Fields in org.locationtech.jts.util declared as PrecisionModel Modifier and Type Field Description protected PrecisionModel
GeometricShapeFactory. precModel
-
Uses of PrecisionModel in org.locationtech.jtsexample.geom
Methods in org.locationtech.jtsexample.geom with parameters of type PrecisionModel Modifier and Type Method 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)
-
Uses of PrecisionModel in org.locationtech.jtstest.test
Fields in org.locationtech.jtstest.test declared as PrecisionModel Modifier and Type Field Description private PrecisionModel
TestCase. pm
Methods in org.locationtech.jtstest.test with parameters of type PrecisionModel Modifier and Type Method Description TestCase
TestCase. setPrecisionModel(PrecisionModel pm)
-
Uses of PrecisionModel in org.locationtech.jtstest.testbuilder
Fields in org.locationtech.jtstest.testbuilder declared as PrecisionModel Modifier and Type Field Description private PrecisionModel
PrecisionModelPanel. precisionModel
Methods in org.locationtech.jtstest.testbuilder that return PrecisionModel Modifier and Type Method Description static PrecisionModel
JTSTestBuilder. getPrecisionModel()
PrecisionModel
PrecisionModelDialog. getPrecisionModel()
PrecisionModel
PrecisionModelPanel. getPrecisionModel()
Methods in org.locationtech.jtstest.testbuilder with parameters of type PrecisionModel Modifier and Type Method Description void
PrecisionModelDialog. setPrecisionModel(PrecisionModel precisionModel)
void
PrecisionModelPanel. setPrecisionModel(PrecisionModel precisionModel)
-
Uses of PrecisionModel in org.locationtech.jtstest.testbuilder.model
Fields in org.locationtech.jtstest.testbuilder.model declared as PrecisionModel Modifier and Type Field Description private PrecisionModel
TestBuilderModel. precisionModel
Methods in org.locationtech.jtstest.testbuilder.model that return PrecisionModel Modifier and Type Method Description PrecisionModel
TestBuilderModel. getPrecisionModel()
Methods in org.locationtech.jtstest.testbuilder.model with parameters of type PrecisionModel Modifier and Type Method 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
HtmlWriter. write(java.io.File outputDirectory, TestCaseList testCaseList, PrecisionModel precisionModel)
void
PNGWriter. write(java.io.File outputDirectory, TestCaseEdit testCase, PrecisionModel precisionModel)
Constructors in org.locationtech.jtstest.testbuilder.model with parameters of type PrecisionModel Constructor Description TestCaseEdit(PrecisionModel pm)
-
Uses of PrecisionModel in org.locationtech.jtstest.testbuilder.ui
Fields in org.locationtech.jtstest.testbuilder.ui declared as PrecisionModel Modifier and Type Field Description private PrecisionModel
Viewport. scalePM
Methods in org.locationtech.jtstest.testbuilder.ui that return PrecisionModel Modifier and Type Method Description PrecisionModel
Viewport. getGridPrecisionModel()
Gets a PrecisionModel corresponding to the grid size. -
Uses of PrecisionModel in org.locationtech.jtstest.testbuilder.ui.tools
Fields in org.locationtech.jtstest.testbuilder.ui.tools declared as PrecisionModel Modifier and Type Field Description private PrecisionModel
BasicTool. gridPM
-
Uses of PrecisionModel in org.locationtech.jtstest.testrunner
Fields in org.locationtech.jtstest.testrunner declared as PrecisionModel Modifier and Type Field Description private PrecisionModel
TestRun. precisionModel
Methods in org.locationtech.jtstest.testrunner that return PrecisionModel Modifier and Type Method 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.Constructors in org.locationtech.jtstest.testrunner with parameters of type PrecisionModel Constructor Description TestRun(java.lang.String description, int runIndex, PrecisionModel precisionModel, GeometryOperation geomOp, ResultMatcher resultMatcher, java.io.File testFile)
-
Uses of PrecisionModel in org.locationtech.jtstest.util.io
Methods in org.locationtech.jtstest.util.io with parameters of type PrecisionModel Modifier and Type Method Description private void
SVGWriter. appendPoint(Coordinate coordinate, int level, java.io.Writer writer, PrecisionModel precisionModel)
Converts aCoordinate
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 aCoordinate
to <Point Tagged Text> format, then appends it to the writer.private static java.text.DecimalFormat
SVGWriter. createFormatter(PrecisionModel precisionModel)
Creates theDecimalFormat
used to writedouble
s with a sufficient number of decimal places.
-