Uses of Class
org.locationtech.jts.geom.GeometryFactory
-
Packages that use GeometryFactory Package Description org.locationtech.jts.algorithm Contains classes and interfaces implementing fundamental computational geometry algorithms.org.locationtech.jts.awt Classes to perform conversions from Java2D shape objects.org.locationtech.jts.geom Contains theGeometry
interface hierarchy and supporting classes.org.locationtech.jts.geom.util Provides classes that parse and modify Geometry objects.org.locationtech.jts.geomgraph Contains classes that implement topology graphs.org.locationtech.jts.io Contains the interfaces for converting JTS objects to and from other formats.org.locationtech.jts.io.geojson org.locationtech.jts.io.gml2 Classes to read and write the GML2 geometry format.org.locationtech.jts.linearref Contains classes and interfaces implementing linear referencing on linear geometriesorg.locationtech.jts.noding Classes to compute nodings for arrangements of line segments and line segment sequences.org.locationtech.jts.operation.linemerge Classes to perform line merging.org.locationtech.jts.operation.overlay Contains classes that perform a topological overlay to compute boolean spatial functions.org.locationtech.jts.operation.union Classes to perform efficient unioning of collections of geometries.org.locationtech.jts.shape org.locationtech.jts.shape.fractal org.locationtech.jts.shape.random org.locationtech.jts.triangulate Classes to compute Delaunay triangulations.org.locationtech.jts.triangulate.quadedge Classes to implement a topological subdivision of quadeges, to support creating triangulations and Voronoi diagrams.org.locationtech.jts.util Contains support classes for the Java Topology Suite.org.locationtech.jtslab.geom.util -
-
Uses of GeometryFactory in org.locationtech.jts.algorithm
Constructors in org.locationtech.jts.algorithm with parameters of type GeometryFactory Constructor Description ConvexHull(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 GeometryFactory Modifier and Type Method Description static Geometry
FontGlyphReader. read(java.lang.String text, java.awt.Font font, double flatness, GeometryFactory geomFact)
Converts text rendered in the givenFont
to aGeometry
static Geometry
FontGlyphReader. read(java.lang.String text, java.awt.Font font, GeometryFactory geomFact)
Converts text rendered in the givenFont
to aGeometry
using a standard flatness factor.static Geometry
FontGlyphReader. read(java.lang.String text, java.lang.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(java.awt.geom.PathIterator pathIt, GeometryFactory geomFact)
Converts a flat path to aGeometry
.static Geometry
ShapeReader. read(java.awt.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 Constructor Description ShapeReader(GeometryFactory geometryFactory)
-
Uses of GeometryFactory in org.locationtech.jts.geom
Methods in org.locationtech.jts.geom that return GeometryFactory Modifier and Type Method Description GeometryFactory
Geometry. getFactory()
Gets the factory which contains the context in which this geometry was created.Methods in org.locationtech.jts.geom with parameters of type GeometryFactory Modifier and Type Method Description LineString
LineSegment. toGeometry(GeometryFactory geomFactory)
Creates a LineString with the same coordinates as this segmentGeometry
OctagonalEnvelope. toGeometry(GeometryFactory geomFactory)
Constructors in org.locationtech.jts.geom with parameters of type GeometryFactory Constructor Description Geometry(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
Methods in org.locationtech.jts.geom.util that return GeometryFactory Modifier and Type Method Description static GeometryFactory
GeometryCombiner. extractFactory(java.util.Collection geoms)
Extracts the GeometryFactory used by the geometries in a collectionMethods in org.locationtech.jts.geom.util with parameters of type GeometryFactory Modifier and Type Method Description Geometry
GeometryEditor.CoordinateOperation. edit(Geometry geometry, GeometryFactory factory)
Geometry
GeometryEditor.CoordinateSequenceOperation. edit(Geometry geometry, GeometryFactory factory)
Geometry
GeometryEditor.GeometryEditorOperation. edit(Geometry geometry, GeometryFactory factory)
Edits a Geometry by returning a new Geometry with a modification.Geometry
GeometryEditor.NoOpGeometryOperation. edit(Geometry geometry, GeometryFactory factory)
Constructors in org.locationtech.jts.geom.util with parameters of type GeometryFactory Constructor Description GeometryEditor(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
Methods in org.locationtech.jts.geomgraph with parameters of type GeometryFactory Modifier and Type Method Description Polygon
EdgeRing. toPolygon(GeometryFactory geometryFactory)
Constructors in org.locationtech.jts.geomgraph with parameters of type GeometryFactory Constructor Description EdgeRing(DirectedEdge start, GeometryFactory geometryFactory)
-
Uses of GeometryFactory in org.locationtech.jts.io
Constructors in org.locationtech.jts.io with parameters of type GeometryFactory Constructor Description WKBReader(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 GeometryFactory Constructor Description GeoJsonReader(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 GeometryFactory Modifier and Type Method Description Geometry
GMLReader. read(java.io.Reader reader, GeometryFactory geometryFactory)
Reads a GML2 Geometry from aReader
into a singleGeometry
If a collection of Geometries is found, aGeometryCollection
is returned.Geometry
GMLReader. read(java.lang.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 GeometryFactory Constructor Description GMLHandler(GeometryFactory gf, org.xml.sax.ErrorHandler delegate)
Creates a new handler. -
Uses of GeometryFactory in org.locationtech.jts.linearref
Constructors in org.locationtech.jts.linearref with parameters of type GeometryFactory Constructor Description LinearGeometryBuilder(GeometryFactory geomFact)
-
Uses of GeometryFactory in org.locationtech.jts.noding
Methods in org.locationtech.jts.noding with parameters of type GeometryFactory Modifier and Type Method Description static Geometry
SegmentStringUtil. toGeometry(java.util.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 GeometryFactory Constructor Description EdgeString(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 GeometryFactory Modifier and Type Method Description static 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 GeometryFactory Constructor Description LineBuilder(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.union
Methods in org.locationtech.jts.operation.union with parameters of type GeometryFactory Modifier and Type Method Description static Geometry
UnaryUnionOp. union(java.util.Collection geoms, GeometryFactory geomFact)
Computes the geometric union of aCollection
ofGeometry
s.Constructors in org.locationtech.jts.operation.union with parameters of type GeometryFactory Constructor Description UnaryUnionOp(java.util.Collection geoms, GeometryFactory geomFact)
Constructs a unary union operation for aCollection
ofGeometry
s. -
Uses of GeometryFactory in org.locationtech.jts.shape
Constructors in org.locationtech.jts.shape with parameters of type GeometryFactory Constructor Description GeometricShapeBuilder(GeometryFactory geomFactory)
-
Uses of GeometryFactory in org.locationtech.jts.shape.fractal
Constructors in org.locationtech.jts.shape.fractal with parameters of type GeometryFactory Constructor Description HilbertCurveBuilder(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 GeometryFactory Constructor Description RandomPointsBuilder(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 GeometryFactory Modifier and Type Method Description Geometry
VoronoiDiagramBuilder. getDiagram(GeometryFactory geomFact)
Gets the faces of the computed diagram as aGeometryCollection
ofPolygon
s, clipped as specified.Geometry
ConformingDelaunayTriangulationBuilder. getEdges(GeometryFactory geomFact)
Gets the edges of the computed triangulation as aMultiLineString
.Geometry
DelaunayTriangulationBuilder. getEdges(GeometryFactory geomFact)
Gets the edges of the computed triangulation as aMultiLineString
.Geometry
ConformingDelaunayTriangulationBuilder. getTriangles(GeometryFactory geomFact)
Gets the faces of the computed triangulation as aGeometryCollection
ofPolygon
.Geometry
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 GeometryFactory Modifier and Type Method Description Geometry
QuadEdgeSubdivision. getEdges(GeometryFactory geomFact)
Gets the geometry for the edges in the subdivision as aMultiLineString
containing 2-point lines.Polygon
QuadEdgeTriangle. getGeometry(GeometryFactory fact)
Geometry
QuadEdgeSubdivision. getTriangles(GeometryFactory geomFact)
Gets the geometry for the triangles in a triangulated subdivision as aGeometryCollection
of triangularPolygon
s.Polygon
QuadEdgeSubdivision. getVoronoiCellPolygon(QuadEdge qe, GeometryFactory geomFact)
Gets the Voronoi cell around a site specified by the origin of a QuadEdge.java.util.List
QuadEdgeSubdivision. getVoronoiCellPolygons(GeometryFactory geomFact)
Gets a List ofPolygon
s for the Voronoi cells of this triangulation.Geometry
QuadEdgeSubdivision. getVoronoiDiagram(GeometryFactory geomFact)
Gets the cells in the Voronoi diagram for this triangulation. -
Uses of GeometryFactory in org.locationtech.jts.util
Constructors in org.locationtech.jts.util with parameters of type GeometryFactory Constructor Description GeometricShapeFactory(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 GeometryFactory Modifier and Type Method Description Geometry
GeometryEditorEx.CoordinateOperation. edit(Geometry geometry, GeometryFactory targetFactory)
abstract CoordinateSequence
GeometryEditorEx.CoordinateSequenceOperation. edit(CoordinateSequence coordSeq, Geometry geometry, GeometryFactory targetFactory)
Edits aCoordinateSequence
from aGeometry
.Geometry
GeometryEditorEx.CoordinateSequenceOperation. edit(Geometry geometry, GeometryFactory targetFactory)
Geometry
GeometryEditorEx.GeometryEditorOperation. edit(Geometry geometry, GeometryFactory targetFactory)
Edits a Geometry by returning a new Geometry with a modification.Geometry
GeometryEditorEx.NoOpGeometryOperation. edit(Geometry geometry, GeometryFactory targetFactory)
Constructors in org.locationtech.jtslab.geom.util with parameters of type GeometryFactory Constructor Description GeometryEditorEx(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 givenGeometryOperation
and the givenGeometryFactory
.
-