Uses of Class
org.locationtech.jts.geom.GeometryFactory
Packages that use GeometryFactory
Package
Description
Contains classes and interfaces implementing fundamental computational geometry algorithms.
Classes to perform conversions from Java2D shape objects.
Contains the
Geometry
interface hierarchy and supporting classes.Provides classes that parse and modify Geometry objects.
Contains classes that implement topology graphs.
Contains the interfaces for converting JTS objects to and from other formats.
Classes to read and write the GML2 geometry format.
Contains classes and interfaces implementing linear referencing on linear geometries
Classes to compute nodings for arrangements of line segments and line segment sequences.
Classes to perform line merging.
Contains classes that perform a topological overlay to compute boolean spatial functions.
Contains classes that perform vector overlay
to compute boolean set-theoretic spatial functions.
Classes to perform efficient unioning of collections of geometries.
Classes to compute Delaunay triangulations.
Classes to implement a topological subdivision of quadeges, to support creating triangulations
and Voronoi diagrams.
Classes for representing a planar triangulation as a set of linked triangles.
Contains support classes for the Java Topology Suite.
-
Uses of GeometryFactory in org.locationtech.jts.algorithm
Constructors in org.locationtech.jts.algorithm with parameters of type GeometryFactoryModifierConstructorDescriptionConvexHull
(Coordinate[] pts, GeometryFactory geomFactory) Create a new convex hull construction for the inputCoordinate
array. -
Uses of GeometryFactory in org.locationtech.jts.awt
Methods in org.locationtech.jts.awt with parameters of type GeometryFactoryModifier and TypeMethodDescriptionstatic Geometry
FontGlyphReader.read
(String text, Font font, double flatness, GeometryFactory geomFact) static Geometry
FontGlyphReader.read
(String text, Font font, GeometryFactory geomFact) static Geometry
FontGlyphReader.read
(String text, String fontName, int pointSize, GeometryFactory geomFact) Converts text rendered in the given font and pointsize to aGeometry
using a standard flatness factor.static Geometry
ShapeReader.read
(PathIterator pathIt, GeometryFactory geomFact) Converts a flat path to aGeometry
.static Geometry
ShapeReader.read
(Shape shp, double flatness, GeometryFactory geomFact) Converts a Shape to a Geometry, flattening it first.Constructors in org.locationtech.jts.awt with parameters of type GeometryFactory -
Uses of GeometryFactory in org.locationtech.jts.geom
Fields in org.locationtech.jts.geom declared as GeometryFactoryModifier and TypeFieldDescriptionprotected final GeometryFactory
Geometry.factory
TheGeometryFactory
used to create this GeometryMethods in org.locationtech.jts.geom that return GeometryFactoryModifier and TypeMethodDescriptionGeometry.getFactory()
Gets the factory which contains the context in which this geometry was created.Methods in org.locationtech.jts.geom with parameters of type GeometryFactoryModifier and TypeMethodDescriptionLineSegment.toGeometry
(GeometryFactory geomFactory) Creates a LineString with the same coordinates as this segmentOctagonalEnvelope.toGeometry
(GeometryFactory geomFactory) Constructors in org.locationtech.jts.geom with parameters of type GeometryFactoryModifierConstructorDescriptionGeometry
(GeometryFactory factory) Creates a newGeometry
via the specified GeometryFactory.GeometryCollection
(Geometry[] geometries, GeometryFactory factory) LinearRing
(CoordinateSequence points, GeometryFactory factory) Constructs aLinearRing
with the vertices specified by the givenCoordinateSequence
.LineString
(CoordinateSequence points, GeometryFactory factory) Constructs aLineString
with the given points.MultiLineString
(LineString[] lineStrings, GeometryFactory factory) MultiPoint
(Point[] points, GeometryFactory factory) MultiPolygon
(Polygon[] polygons, GeometryFactory factory) Point
(CoordinateSequence coordinates, GeometryFactory factory) Polygon
(LinearRing shell, LinearRing[] holes, GeometryFactory factory) Constructs aPolygon
with the given exterior boundary and interior boundaries. -
Uses of GeometryFactory in org.locationtech.jts.geom.util
Fields in org.locationtech.jts.geom.util declared as GeometryFactoryMethods in org.locationtech.jts.geom.util that return GeometryFactoryModifier and TypeMethodDescriptionstatic GeometryFactory
GeometryCombiner.extractFactory
(Collection geoms) Extracts the GeometryFactory used by the geometries in a collectionMethods in org.locationtech.jts.geom.util with parameters of type GeometryFactoryModifier and TypeMethodDescriptionfinal Geometry
GeometryEditor.CoordinateOperation.edit
(Geometry geometry, GeometryFactory factory) final Geometry
GeometryEditor.CoordinateSequenceOperation.edit
(Geometry geometry, GeometryFactory factory) GeometryEditor.GeometryEditorOperation.edit
(Geometry geometry, GeometryFactory factory) Edits a Geometry by returning a new Geometry with a modification.GeometryEditor.NoOpGeometryOperation.edit
(Geometry geometry, GeometryFactory factory) Constructors in org.locationtech.jts.geom.util with parameters of type GeometryFactoryModifierConstructorDescriptionGeometryEditor
(GeometryFactory factory) Creates a new GeometryEditor object which will create editedGeometry
s with the givenGeometryFactory
.SineStarFactory
(GeometryFactory geomFact) Creates a factory which will create sine stars using the givenGeometryFactory
. -
Uses of GeometryFactory in org.locationtech.jts.geomgraph
Fields in org.locationtech.jts.geomgraph declared as GeometryFactoryMethods in org.locationtech.jts.geomgraph with parameters of type GeometryFactoryConstructors in org.locationtech.jts.geomgraph with parameters of type GeometryFactory -
Uses of GeometryFactory in org.locationtech.jts.io
Constructors in org.locationtech.jts.io with parameters of type GeometryFactoryModifierConstructorDescriptionWKBReader
(GeometryFactory geometryFactory) WKTReader
(GeometryFactory geometryFactory) Creates a reader that creates objects using the givenGeometryFactory
. -
Uses of GeometryFactory in org.locationtech.jts.io.geojson
Constructors in org.locationtech.jts.io.geojson with parameters of type GeometryFactoryModifierConstructorDescriptionGeoJsonReader
(GeometryFactory geometryFactory) This constructor accepts aGeometryFactory
that is used to create the output geometries and to override the GeoJson CRS. -
Uses of GeometryFactory in org.locationtech.jts.io.gml2
Methods in org.locationtech.jts.io.gml2 with parameters of type GeometryFactoryModifier and TypeMethodDescriptionGMLReader.read
(Reader reader, GeometryFactory geometryFactory) Reads a GML2 Geometry from aReader
into a singleGeometry
If a collection of Geometries is found, aGeometryCollection
is returned.GMLReader.read
(String gml, GeometryFactory geometryFactory) Reads a GML2 Geometry from a String into a singleGeometry
If a collection of geometries is found, aGeometryCollection
is returned.Constructors in org.locationtech.jts.io.gml2 with parameters of type GeometryFactoryModifierConstructorDescriptionGMLHandler
(GeometryFactory gf, ErrorHandler delegate) Creates a new handler. -
Uses of GeometryFactory in org.locationtech.jts.io.kml
Constructors in org.locationtech.jts.io.kml with parameters of type GeometryFactoryModifierConstructorDescriptionKMLReader
(GeometryFactory geometryFactory) Creates a reader that creates objects using the givenGeometryFactory
.KMLReader
(GeometryFactory geometryFactory, Collection<String> attributeNames) Creates a reader that creates objects using the givenGeometryFactory
. -
Uses of GeometryFactory in org.locationtech.jts.io.twkb
Methods in org.locationtech.jts.io.twkb with parameters of type GeometryFactoryConstructors in org.locationtech.jts.io.twkb with parameters of type GeometryFactory -
Uses of GeometryFactory in org.locationtech.jts.linearref
Constructors in org.locationtech.jts.linearref with parameters of type GeometryFactory -
Uses of GeometryFactory in org.locationtech.jts.noding
Methods in org.locationtech.jts.noding with parameters of type GeometryFactoryModifier and TypeMethodDescriptionstatic Geometry
SegmentStringUtil.toGeometry
(Collection segStrings, GeometryFactory geomFact) Converts a collection ofSegmentString
s into aGeometry
. -
Uses of GeometryFactory in org.locationtech.jts.operation.linemerge
Constructors in org.locationtech.jts.operation.linemerge with parameters of type GeometryFactoryModifierConstructorDescriptionEdgeString
(GeometryFactory factory) Constructs an EdgeString with the given factory used to convert this EdgeString to a LineString -
Uses of GeometryFactory in org.locationtech.jts.operation.overlay
Methods in org.locationtech.jts.operation.overlay with parameters of type GeometryFactoryModifier and TypeMethodDescriptionstatic Geometry
OverlayOp.createEmptyResult
(int overlayOpCode, Geometry a, Geometry b, GeometryFactory geomFact) Creates an empty result geometry of the appropriate dimension, based on the given overlay operation and the dimensions of the inputs.Constructors in org.locationtech.jts.operation.overlay with parameters of type GeometryFactoryModifierConstructorDescriptionLineBuilder
(OverlayOp op, GeometryFactory geometryFactory, PointLocator ptLocator) MaximalEdgeRing
(DirectedEdge start, GeometryFactory geometryFactory) MinimalEdgeRing
(DirectedEdge start, GeometryFactory geometryFactory) PointBuilder
(OverlayOp op, GeometryFactory geometryFactory, PointLocator ptLocator) PolygonBuilder
(GeometryFactory geometryFactory) -
Uses of GeometryFactory in org.locationtech.jts.operation.overlayng
Methods in org.locationtech.jts.operation.overlayng with parameters of type GeometryFactoryModifier and TypeMethodDescriptionstatic Geometry
OverlayNGRobust.union
(Collection<Geometry> geoms, GeometryFactory geomFact) Computes the unary union of a collection of geometries using robust computation.static Geometry
UnaryUnionNG.union
(Collection<Geometry> geoms, GeometryFactory geomFact, PrecisionModel pm) Unions a collection of geometries using a given precision model. -
Uses of GeometryFactory in org.locationtech.jts.operation.union
Methods in org.locationtech.jts.operation.union with parameters of type GeometryFactoryModifier and TypeMethodDescriptionstatic Geometry
UnaryUnionOp.union
(Collection geoms, GeometryFactory geomFact) Computes the geometric union of aCollection
ofGeometry
s.Constructors in org.locationtech.jts.operation.union with parameters of type GeometryFactoryModifierConstructorDescriptionUnaryUnionOp
(Collection geoms, GeometryFactory geomFact) Constructs a unary union operation for aCollection
ofGeometry
s. -
Uses of GeometryFactory in org.locationtech.jts.shape
Fields in org.locationtech.jts.shape declared as GeometryFactoryConstructors in org.locationtech.jts.shape with parameters of type GeometryFactory -
Uses of GeometryFactory in org.locationtech.jts.shape.fractal
Constructors in org.locationtech.jts.shape.fractal with parameters of type GeometryFactoryModifierConstructorDescriptionHilbertCurveBuilder
(GeometryFactory geomFactory) Creates a new instance using the providedGeometryFactory
.KochSnowflakeBuilder
(GeometryFactory geomFactory) MortonCurveBuilder
(GeometryFactory geomFactory) Creates a new instance using the providedGeometryFactory
.SierpinskiCarpetBuilder
(GeometryFactory geomFactory) -
Uses of GeometryFactory in org.locationtech.jts.shape.random
Constructors in org.locationtech.jts.shape.random with parameters of type GeometryFactoryModifierConstructorDescriptionRandomPointsBuilder
(GeometryFactory geomFact) Create a shape factory which will create shapes using the givenGeometryFactory
.RandomPointsInGridBuilder
(GeometryFactory geomFact) Create a builder which will create shapes using the givenGeometryFactory
. -
Uses of GeometryFactory in org.locationtech.jts.triangulate
Methods in org.locationtech.jts.triangulate with parameters of type GeometryFactoryModifier and TypeMethodDescriptionVoronoiDiagramBuilder.getDiagram
(GeometryFactory geomFact) Gets the faces of the computed diagram as aGeometryCollection
ofPolygon
s, clipped as specified.ConformingDelaunayTriangulationBuilder.getEdges
(GeometryFactory geomFact) Gets the edges of the computed triangulation as aMultiLineString
.DelaunayTriangulationBuilder.getEdges
(GeometryFactory geomFact) Gets the edges of the computed triangulation as aMultiLineString
.ConformingDelaunayTriangulationBuilder.getTriangles
(GeometryFactory geomFact) Gets the faces of the computed triangulation as aGeometryCollection
ofPolygon
.DelaunayTriangulationBuilder.getTriangles
(GeometryFactory geomFact) Gets the faces of the computed triangulation as aGeometryCollection
ofPolygon
. -
Uses of GeometryFactory in org.locationtech.jts.triangulate.quadedge
Methods in org.locationtech.jts.triangulate.quadedge with parameters of type GeometryFactoryModifier and TypeMethodDescriptionQuadEdgeSubdivision.getEdges
(GeometryFactory geomFact) Gets the geometry for the edges in the subdivision as aMultiLineString
containing 2-point lines.QuadEdgeTriangle.getGeometry
(GeometryFactory fact) QuadEdgeSubdivision.getTriangles
(boolean includeFrame, GeometryFactory geomFact) Gets the geometry for the triangles in a triangulated subdivision as aGeometryCollection
of triangularPolygon
s, optionally including the frame triangles.QuadEdgeSubdivision.getTriangles
(GeometryFactory geomFact) Gets the geometry for the triangles in a triangulated subdivision as aGeometryCollection
of triangularPolygon
s.QuadEdgeSubdivision.getVoronoiCellPolygon
(QuadEdge qe, GeometryFactory geomFact) Gets the Voronoi cell around a site specified by the origin of a QuadEdge.QuadEdgeSubdivision.getVoronoiCellPolygons
(GeometryFactory geomFact) Gets a List ofPolygon
s for the Voronoi cells of this triangulation.QuadEdgeSubdivision.getVoronoiDiagram
(GeometryFactory geomFact) Gets the cells in the Voronoi diagram for this triangulation. -
Uses of GeometryFactory in org.locationtech.jts.triangulate.tri
Methods in org.locationtech.jts.triangulate.tri with parameters of type GeometryFactoryModifier and TypeMethodDescriptionstatic Geometry
Tri.toGeometry
(Collection<Tri> tris, GeometryFactory geomFact) Creates ainvalid reference
GeometryCollection
Polygon
s representing the triangles in a list.Tri.toPolygon
(GeometryFactory geomFact) Creates aPolygon
representing this triangle. -
Uses of GeometryFactory in org.locationtech.jts.util
Fields in org.locationtech.jts.util declared as GeometryFactoryConstructors in org.locationtech.jts.util with parameters of type GeometryFactoryModifierConstructorDescriptionGeometricShapeFactory
(GeometryFactory geomFact) Create a shape factory which will create shapes using the givenGeometryFactory
. -
Uses of GeometryFactory in org.locationtech.jtslab.geom.util
Methods in org.locationtech.jtslab.geom.util with parameters of type GeometryFactoryModifier and TypeMethodDescriptionfinal Geometry
GeometryEditorEx.CoordinateOperation.edit
(Geometry geometry, GeometryFactory targetFactory) abstract CoordinateSequence
GeometryEditorEx.CoordinateSequenceOperation.edit
(CoordinateSequence coordSeq, Geometry geometry, GeometryFactory targetFactory) Edits aCoordinateSequence
from aGeometry
.final Geometry
GeometryEditorEx.CoordinateSequenceOperation.edit
(Geometry geometry, GeometryFactory targetFactory) GeometryEditorEx.GeometryEditorOperation.edit
(Geometry geometry, GeometryFactory targetFactory) Edits a Geometry by returning a new Geometry with a modification.GeometryEditorEx.NoOpGeometryOperation.edit
(Geometry geometry, GeometryFactory targetFactory) Constructors in org.locationtech.jtslab.geom.util with parameters of type GeometryFactoryModifierConstructorDescriptionGeometryEditorEx
(GeometryFactory targetFactory) Creates a new GeometryEditor object which will create editedGeometry
s with the givenGeometryFactory
.GeometryEditorEx
(GeometryEditorEx.GeometryEditorOperation operation, GeometryFactory targetFactory) Creates a GeometryEditor which edits geometries using a giveninvalid reference
GeometryOperation
GeometryFactory
. -
Uses of GeometryFactory in org.locationtech.jtstest.function
Methods in org.locationtech.jtstest.function that return GeometryFactoryModifier and TypeMethodDescriptionstatic GeometryFactory
FunctionsUtil.getFactoryOrDefault
(Geometry g) static GeometryFactory
FunctionsUtil.getFactoryOrDefault
(Geometry g1, Geometry g2) -
Uses of GeometryFactory in org.locationtech.jtstest.testbuilder
Methods in org.locationtech.jtstest.testbuilder that return GeometryFactory -
Uses of GeometryFactory in org.locationtech.jtstest.testbuilder.geom
Methods in org.locationtech.jtstest.testbuilder.geom with parameters of type GeometryFactoryModifier and TypeMethodDescriptionSegmentExtracter.SegmentExtracterFilter.getGeometry
(GeometryFactory factory) Constructors in org.locationtech.jtstest.testbuilder.geom with parameters of type GeometryFactory -
Uses of GeometryFactory in org.locationtech.jtstest.testbuilder.io.shapefile
Methods in org.locationtech.jtstest.testbuilder.io.shapefile with parameters of type GeometryFactoryModifier and TypeMethodDescriptionMultiLineHandler.read
(EndianDataInputStream file, GeometryFactory geometryFactory, int contentLength) MultiPointHandler.read
(EndianDataInputStream file, GeometryFactory geometryFactory, int contentLength) PointHandler.read
(EndianDataInputStream file, GeometryFactory geometryFactory, int contentLength) PolygonHandler.read
(EndianDataInputStream file, GeometryFactory geometryFactory, int contentLength) Shapefile.read
(GeometryFactory geometryFactory) Initialises a shapefile from disk.ShapeHandler.read
(EndianDataInputStream file, GeometryFactory geometryFactory, int contentLength) void
Shapefile.readStream
(GeometryFactory geometryFactory) Initialises a shapefile from disk. -
Uses of GeometryFactory in org.locationtech.jtstest.testbuilder.model
Methods in org.locationtech.jtstest.testbuilder.model that return GeometryFactory -
Uses of GeometryFactory in org.locationtech.jtstest.util.io
Methods in org.locationtech.jtstest.util.io with parameters of type GeometryFactoryModifier and TypeMethodDescriptionMultiFormatBufferedReader.read
(Reader reader, int limit, int offset, GeometryFactory geomFactory) MultiFormatFileReader.read
(String filename, int limit, int offset, GeometryFactory geomFactory) static Geometry
IOUtil.readFile
(String filename, GeometryFactory geomFact) static Geometry
IOUtil.readGeoJSONString
(String s, GeometryFactory geomFact) static Geometry
MultiFormatFileReader.readGeometry
(String filename, int limit, int offset, GeometryFactory geomFactory) static Geometry
IOUtil.readGMLString
(String gml, GeometryFactory geomFact) static Geometry
IOUtil.readWKBHexString
(String wkb, GeometryFactory geomFact) MultiFormatBufferedReader.readWKT
(Reader rdr, GeometryFactory geomFact) static Geometry
IOUtil.readWKTString
(String wkt, GeometryFactory geomFact) Reads one or more WKT geometries from a string.static Geometry
IOUtil.readWKTString
(String wkt, GeometryFactory geomFact, boolean isStrict) Constructors in org.locationtech.jtstest.util.io with parameters of type GeometryFactoryModifierConstructorDescriptionGeoJsonMultiReader
(GeometryFactory geomFact) MultiFormatBufferedReader
(GeometryFactory geomFactory) MultiFormatFileReader
(GeometryFactory geomFactory) MultiFormatReader
(GeometryFactory geomFactory) WKTOrWKBReader
(GeometryFactory geomFactory)