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.geom Contains theGeometryinterface 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.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.org.locationtech.jts.util Contains support classes for the Java Topology Suite.org.locationtech.jtsexample.geom org.locationtech.jtslab.clip org.locationtech.jtstest.test org.locationtech.jtstest.testbuilder org.locationtech.jtstest.testbuilder.io org.locationtech.jtstest.testbuilder.model org.locationtech.jtstest.testbuilder.ui org.locationtech.jtstest.testrunner -
-
Uses of PrecisionModel in org.locationtech.jts.algorithm
Fields in org.locationtech.jts.algorithm declared as PrecisionModel Modifier and Type Field Description protected PrecisionModelLineIntersector. precisionModelIf 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 voidLineIntersector. setMakePrecise(PrecisionModel precisionModel)Deprecated.usesetPrecisionModelinsteadvoidLineIntersector. setPrecisionModel(PrecisionModel precisionModel)Force computed intersection to be rounded to a given precision model. -
Uses of PrecisionModel in org.locationtech.jts.geom
Methods in org.locationtech.jts.geom that return PrecisionModel Modifier and Type Method Description PrecisionModelGeometry. getPrecisionModel()Returns thePrecisionModelused by theGeometry.PrecisionModelGeometryFactory. getPrecisionModel()Returns the PrecisionModel that Geometries created by this factory will be associated with.static PrecisionModelPrecisionModel. mostPrecise(PrecisionModel pm1, PrecisionModel pm2)Determines which of twoPrecisionModels 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 PrecisionModelPrecisionModel. mostPrecise(PrecisionModel pm1, PrecisionModel pm2)Determines which of twoPrecisionModels 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 givenPrecisionModeland the default CoordinateSequence implementation.GeometryFactory(PrecisionModel precisionModel, int SRID)Constructs a GeometryFactory that generates Geometries having the givenPrecisionModeland 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 newPrecisionModelfrom an existing one. -
Uses of PrecisionModel in org.locationtech.jts.io
Methods in org.locationtech.jts.io with parameters of type PrecisionModel Modifier and Type Method Description voidWKTWriter. setPrecisionModel(PrecisionModel precisionModel)Sets aPrecisionModelthat should be used on the ordinates written. -
Uses of PrecisionModel in org.locationtech.jts.noding
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
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)Deprecated.SnapRoundingNoder(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 PrecisionModelGeometryGraphOperation. resultPrecisionModelMethods in org.locationtech.jts.operation with parameters of type PrecisionModel Modifier and Type Method Description protected voidGeometryGraphOperation. setComputationPrecision(PrecisionModel pm) -
Uses of PrecisionModel in org.locationtech.jts.operation.buffer
Constructors in org.locationtech.jts.operation.buffer with parameters of type PrecisionModel Constructor Description BufferCurveSetBuilder(Geometry inputGeom, double distance, PrecisionModel precisionModel, BufferParameters bufParams)OffsetCurveBuilder(PrecisionModel precisionModel, BufferParameters bufParams) -
Uses of PrecisionModel in org.locationtech.jts.operation.overlayng
Methods in org.locationtech.jts.operation.overlayng that return PrecisionModel Modifier and Type Method Description static PrecisionModelPrecisionUtil. robustPM(Geometry a)Determines a precision model to use for robust overlay operations for one geometry.static PrecisionModelPrecisionUtil. robustPM(Geometry a, Geometry b)Determines a precision model to use for robust overlay operations.Methods in org.locationtech.jts.operation.overlayng with parameters of type PrecisionModel Modifier and Type Method Description static GeometryOverlayNG. 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 GeometryOverlayNG. overlay(Geometry geom0, Geometry geom1, int opCode, PrecisionModel pm, Noder noder)Computes an overlay operation on the given geometry operands, using a suppliedNoder.static GeometryPrecisionReducer. reducePrecision(Geometry geom, PrecisionModel pm)Reduces the precision of a geometry by rounding and snapping it to the suppliedPrecisionModel.static GeometryUnaryUnionNG. union(Collection<Geometry> geoms, GeometryFactory geomFact, PrecisionModel pm)Unions a collection of geometries using a given precision model.static GeometryUnaryUnionNG. union(Collection<Geometry> geoms, PrecisionModel pm)Unions a collection of geometries using a given precision model.static GeometryUnaryUnionNG. union(Geometry geom, PrecisionModel pm)Unions a geometry (which is often a collection) using a given precision model.Constructors in org.locationtech.jts.operation.overlayng with parameters of type PrecisionModel Constructor Description OverlayNG(Geometry geom0, Geometry geom1, PrecisionModel pm, int opCode)Creates an overlay operation on the given geometries, with a defined precision model. -
Uses of PrecisionModel in org.locationtech.jts.precision
Methods in org.locationtech.jts.precision with parameters of type PrecisionModel Modifier and Type Method Description static GeometryGeometryPrecisionReducer. reduce(Geometry g, PrecisionModel precModel)Reduces precision of a geometry, ensuring output geometry is valid.static GeometrySimpleGeometryPrecisionReducer. 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 GeometryGeometryPrecisionReducer. reduceKeepCollapsed(Geometry geom, PrecisionModel pm)Reduces precision of a geometry, ensuring output polygonal geometry is valid, and preserving collapsed linear elements.static GeometryGeometryPrecisionReducer. reducePointwise(Geometry g, PrecisionModel precModel)Reduce precision of a geometry in a pointwise way.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 PrecisionModelGeometricShapeFactory. 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 voidPrecisionModelExample. difference(String wktA, String wktB, PrecisionModel pm)voidPrecisionModelExample. intersection(String wktA, String wktB, PrecisionModel pm) -
Uses of PrecisionModel in org.locationtech.jtslab.clip
Methods in org.locationtech.jtslab.clip with parameters of type PrecisionModel Modifier and Type Method Description static GeometryRectangleClipPolygon. clip(Geometry geom, Geometry rectangle, PrecisionModel pm)Constructors in org.locationtech.jtslab.clip with parameters of type PrecisionModel Constructor Description RectangleClipPolygon(Envelope clipEnv, PrecisionModel pm)RectangleClipPolygon(Geometry clipRectangle, PrecisionModel pm) -
Uses of PrecisionModel in org.locationtech.jtstest.test
Methods in org.locationtech.jtstest.test with parameters of type PrecisionModel Modifier and Type Method Description TestCaseTestCase. setPrecisionModel(PrecisionModel pm) -
Uses of PrecisionModel in org.locationtech.jtstest.testbuilder
Methods in org.locationtech.jtstest.testbuilder that return PrecisionModel Modifier and Type Method Description static PrecisionModelJTSTestBuilder. getPrecisionModel()PrecisionModelPrecisionModelDialog. getPrecisionModel()PrecisionModelPrecisionModelPanel. getPrecisionModel()Methods in org.locationtech.jtstest.testbuilder with parameters of type PrecisionModel Modifier and Type Method Description voidPrecisionModelDialog. setPrecisionModel(PrecisionModel precisionModel)voidPrecisionModelPanel. setPrecisionModel(PrecisionModel precisionModel) -
Uses of PrecisionModel in org.locationtech.jtstest.testbuilder.io
Methods in org.locationtech.jtstest.testbuilder.io with parameters of type PrecisionModel Modifier and Type Method Description static StringXMLTestWriter. getRunXml(TestCaseList tcList, PrecisionModel precModel)static StringXMLTestWriter. toXML(PrecisionModel precisionModel)voidHtmlWriter. write(File outputDirectory, TestCaseList testCaseList, PrecisionModel precisionModel)voidPNGWriter. write(File outputDirectory, TestCaseEdit testCase, PrecisionModel precisionModel) -
Uses of PrecisionModel in org.locationtech.jtstest.testbuilder.model
Methods in org.locationtech.jtstest.testbuilder.model that return PrecisionModel Modifier and Type Method Description PrecisionModelTestBuilderModel. getPrecisionModel()Methods in org.locationtech.jtstest.testbuilder.model with parameters of type PrecisionModel Modifier and Type Method Description voidTestBuilderModel. changePrecisionModel(PrecisionModel precisionModel)voidTestBuilderModel. setPrecisionModel(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
Methods in org.locationtech.jtstest.testbuilder.ui that return PrecisionModel Modifier and Type Method Description PrecisionModelViewport. getGridPrecisionModel()Gets a PrecisionModel corresponding to the grid size. -
Uses of PrecisionModel in org.locationtech.jtstest.testrunner
Methods in org.locationtech.jtstest.testrunner that return PrecisionModel Modifier and Type Method Description PrecisionModelTestRun. getPrecisionModel()Constructors in org.locationtech.jtstest.testrunner with parameters of type PrecisionModel Constructor Description TestRun(String description, int runIndex, PrecisionModel precisionModel, GeometryOperation geomOp, ResultMatcher resultMatcher, File testFile)
-