Package | Description |
---|---|
org.geolatte.geom |
A model for geospatial geometries.
|
org.geolatte.geom.builder | |
org.geolatte.geom.builder.internal | |
org.geolatte.geom.codec | |
org.geolatte.geom.codec.sqlserver | |
org.geolatte.geom.curve | |
org.geolatte.geom.jts |
Modifier and Type | Class and Description |
---|---|
class |
GeometryCollection
A
Geometry that is an ordered collection of some number of Geometry s. |
class |
LinearRing
A
LineString that is both closed and simple. |
class |
LineString
A LineString is a 1-dimensional
Geometry consisting of the LineSegment s defined by
consecutive pairs of Point s of a PointSequence . |
class |
MultiLineString |
class |
MultiPoint |
class |
MultiPolygon
A
GeometryCollection that contains only Polygon s. |
class |
Point |
class |
Polygon
A planar surface defined by 1 exterior boundary and 0 or more interior boundaries.
|
class |
PolyHedralSurface |
Modifier and Type | Field and Description |
---|---|
protected Geometry[] |
GeometryCollection.geometries |
Modifier and Type | Method and Description |
---|---|
Geometry |
Geometry.buffer(double distance)
Returns a
Geometry that represents all points whose distance from this Geometry is less
than or equal the specified distance. |
Geometry |
Geometry.convexHull()
Returns a
Geometry that represents the convex hull of this Geometry . |
Geometry |
Geometry.difference(Geometry other)
Returns a
Geometry that represents the point set difference of this Geometry with the
specified other Geometry . |
Geometry |
Point.getBoundary() |
Geometry |
Geometry.getBoundary()
Returns the boundary of this
Geometry . |
Geometry |
MultiPoint.getBoundary() |
Geometry |
GeometryCollection.getGeometryN(int num)
Returns the
Geometry element at the specified (zero-based) position in this GeometryCollection . |
Geometry |
Geometry.intersection(Geometry other)
Returns a
Geometry that represents the point set intersection of this Geometry with the
specified other Geometry . |
Geometry |
Geometry.locateAlong(double mValue)
Returns a derived
GeometryCollection value that matches the specified M-coordinate value. |
Geometry |
Geometry.locateBetween(double mStart,
double mEnd)
Returns a derived
GeometryCollection value that matches the specified range of M-coordinate values
inclusively. |
Geometry |
MeasureInterpolatingVisitor.result() |
Geometry |
Geometry.symDifference(Geometry other)
Returns a
Geometry that represents the point set symmetric difference of this Geometry with the
specified other Geometry . |
Geometry |
Geometry.union(Geometry other)
Returns the
Geometry that represents the point set union of this Geometry with the
specified other Geometry . |
Modifier and Type | Method and Description |
---|---|
GeometryOperation<Geometry> |
GeometryOperations.createBoundaryOp(Geometry geometry)
Creates an operation to calculate the boundary of the specified
Geometry . |
GeometryOperation<Geometry> |
GeometryOperations.createBufferOp(Geometry geometry,
double distance)
Returns an operation to calculate a
Geometry that represents all points whose distance from the specified
Geometry is less than or equal the specified distance. |
GeometryOperation<Geometry> |
GeometryOperations.createConvexHullOp(Geometry geometry)
Returns an operation to calculate the convex hull of the specified
Geometry . |
GeometryOperation<Geometry> |
GeometryOperations.createDifferenceOp(Geometry geometry,
Geometry other)
Returns an operation to calculate the point set difference of the specified
Geometry s. |
GeometryOperation<Geometry> |
GeometryOperations.createIntersectionOp(Geometry geometry,
Geometry other)
Returns an operation to calculate the point set intersection of the specified
Geometry s. |
GeometryOperation<Geometry> |
GeometryOperations.createLocateAlongOp(Geometry geometry,
double mValue)
Creates an operation to calculate the
GeometryCollection that matches the specified M-coordinate value. |
GeometryOperation<Geometry> |
GeometryOperations.createLocateBetweenOp(Geometry geometry,
double startMeasure,
double endMeasure)
Creates an operation to calculate the
GeometryCollection that matches the specified range of M-coordinate value
inclusively. |
GeometryOperation<Geometry> |
MeasureGeometryOperations.createMeasureOnLengthOp(Geometry geometry,
boolean keepBeginMeasure)
Creates a
GeometryOperation that creates a new Geometry
that has the same 2D/3D-coordinates as the specified Geometry , and
with measure values that correspond with the length along it (or begin-measure + length). |
GeometryOperation<Geometry> |
DefaultMeasureGeometryOperations.createMeasureOnLengthOp(Geometry geometry,
boolean keepBeginMeasure) |
GeometryOperation<Geometry> |
GeometryOperations.createSymDifferenceOp(Geometry geometry,
Geometry other)
Returns an operation to calculate the point set symmetric difference of the specified
Geometry s. |
GeometryOperation<Geometry> |
GeometryOperations.createUnionOp(Geometry geometry,
Geometry other)
Returns an operation to calculate the point set union of the specified
Geometry s. |
Iterator<Geometry> |
GeometryCollection.iterator()
Creates an
Iterator over the elements of this GeometryCollection . |
Modifier and Type | Method and Description |
---|---|
protected static PointCollection |
Geometry.collectPointSets(Geometry[] geometries)
Collects all PointSets in the Geometry array into a (complex) PointCollection.
|
boolean |
Geometry.contains(Geometry other)
Tests whether this
Geometry spatially contains the specified Geometry . |
GeometryOperation<Geometry> |
GeometryOperations.createBoundaryOp(Geometry geometry)
Creates an operation to calculate the boundary of the specified
Geometry . |
GeometryOperation<Geometry> |
GeometryOperations.createBufferOp(Geometry geometry,
double distance)
Returns an operation to calculate a
Geometry that represents all points whose distance from the specified
Geometry is less than or equal the specified distance. |
GeometryOperation<Boolean> |
GeometryOperations.createContainsOp(Geometry geometry,
Geometry other)
Creates an operation to check if the first specified
Geometry spatially
contains the second. |
GeometryOperation<Geometry> |
GeometryOperations.createConvexHullOp(Geometry geometry)
Returns an operation to calculate the convex hull of the specified
Geometry . |
GeometryOperation<Boolean> |
GeometryOperations.createCrossesOp(Geometry geometry,
Geometry other)
Creates an operation to check if the specified
Geometry s cross. |
GeometryOperation<Geometry> |
GeometryOperations.createDifferenceOp(Geometry geometry,
Geometry other)
Returns an operation to calculate the point set difference of the specified
Geometry s. |
GeometryOperation<Double> |
GeometryOperations.createDistanceOp(Geometry geometry,
Geometry other)
Returns an operation to calculate the shortest distance between any two points in the two
Geometry s in the
coordinate reference system of this Geometry . |
GeometryOperation<Envelope> |
GeometryOperations.createEnvelopeOp(Geometry geometry)
Creates an operation to calculate the
Envelope of the specified Geometry . |
GeometryCollection |
GeometryFactory.createGeometryCollection(Geometry[] geometries)
Creates a
GeometryCollection from the specified Geometry s. |
GeometryOperation<Double> |
MeasureGeometryOperations.createGetMeasureOp(Geometry geometry,
Point point)
Creates a
GeometryOperation to calculate the measure value
at the specified point |
GeometryOperation<Double> |
DefaultMeasureGeometryOperations.createGetMeasureOp(Geometry geometry,
Point point) |
GeometryOperation<Double> |
MeasureGeometryOperations.createGetMeasureOp(Geometry geometry,
Point point,
double tolerance)
Creates a
GeometryOperation to calculate the measure value, given that the points fall within
a specified distance from the linestring
at the specified point |
GeometryOperation<Double> |
DefaultMeasureGeometryOperations.createGetMeasureOp(Geometry geometry,
Point point,
double tolerance) |
GeometryOperation<Geometry> |
GeometryOperations.createIntersectionOp(Geometry geometry,
Geometry other)
Returns an operation to calculate the point set intersection of the specified
Geometry s. |
GeometryOperation<Boolean> |
GeometryOperations.createIntersectsOp(Geometry geometry,
Geometry other)
Creates an operation to check if the specified
Geometry s intersect. |
GeometryOperation<Boolean> |
GeometryOperations.createIsSimpleOp(Geometry geometry)
Creates an operation to test the simplicity of the specified
Geometry . |
GeometryOperation<Geometry> |
GeometryOperations.createLocateAlongOp(Geometry geometry,
double mValue)
Creates an operation to calculate the
GeometryCollection that matches the specified M-coordinate value. |
GeometryOperation<Geometry> |
GeometryOperations.createLocateBetweenOp(Geometry geometry,
double startMeasure,
double endMeasure)
Creates an operation to calculate the
GeometryCollection that matches the specified range of M-coordinate value
inclusively. |
GeometryOperation<Geometry> |
MeasureGeometryOperations.createMeasureOnLengthOp(Geometry geometry,
boolean keepBeginMeasure)
Creates a
GeometryOperation that creates a new Geometry
that has the same 2D/3D-coordinates as the specified Geometry , and
with measure values that correspond with the length along it (or begin-measure + length). |
GeometryOperation<Geometry> |
DefaultMeasureGeometryOperations.createMeasureOnLengthOp(Geometry geometry,
boolean keepBeginMeasure) |
GeometryOperation<Boolean> |
GeometryOperations.createOverlapsOp(Geometry geometry,
Geometry other)
Creates an operation to check if the specified
Geometry s overlap. |
GeometryOperation<Boolean> |
GeometryOperations.createRelateOp(Geometry geometry,
Geometry other,
String matrix)
Creates an operation to check if the specified
Geometry s are spatially related by testing
for intersections between the interior, boundary and exterior of the two geometric objects as specified by
the values in the intersection pattern matrix. |
GeometryOperation<Geometry> |
GeometryOperations.createSymDifferenceOp(Geometry geometry,
Geometry other)
Returns an operation to calculate the point set symmetric difference of the specified
Geometry s. |
GeometryOperation<Boolean> |
GeometryOperations.createTouchesOp(Geometry geometry,
Geometry other)
Creates an operation to check if the specified
Geometry s touch. |
GeometryOperation<ByteBuffer> |
GeometryOperations.createToWkbOp(Geometry geometry)
Creates an operation to encode the specified
Geometry to Well-Known Binary format (WKB). |
GeometryOperation<String> |
GeometryOperations.createToWktOp(Geometry geometry)
Creates an operation to encode the specified
Geometry to Well-Known Text (WKT). |
GeometryOperation<Geometry> |
GeometryOperations.createUnionOp(Geometry geometry,
Geometry other)
Returns an operation to calculate the point set union of the specified
Geometry s. |
boolean |
Geometry.crosses(Geometry other)
Tests whether this
Geometry spatially crosses the specified Geometry . |
Geometry |
Geometry.difference(Geometry other)
Returns a
Geometry that represents the point set difference of this Geometry with the
specified other Geometry . |
boolean |
Geometry.disjoint(Geometry other)
Tests whether this
Geometry is spatially disjoint from the specified Geometry . |
double |
Geometry.distance(Geometry other)
Returns the shortest distance between any two points in the two
Geometry s as calculated in the
coordinate reference system of this Geometry . |
boolean |
GeometryEquality.equals(Geometry first,
Geometry second)
Checks whether the first geometry equals
the second, for some definition of equality.
|
boolean |
GeometryPointEquality.equals(Geometry first,
Geometry second)
Checks whether the first geometry equals
the second, for some definition of equality.
|
protected static CrsId |
Geometry.getCrsId(Geometry[] geometries)
Extracts the first
CrsId from an array of Geometry s if
the array is non-null and not empty. |
protected static GeometryOperations |
Geometry.getGeometryOperations(Geometry[] geometries)
Extracts the first
GeometryOperations from an array of Geometry s if
the array is non-null and not empty. |
Geometry |
Geometry.intersection(Geometry other)
Returns a
Geometry that represents the point set intersection of this Geometry with the
specified other Geometry . |
boolean |
Geometry.intersects(Geometry other)
Tests whether this
Geometry spatially intersects the specified Geometry . |
boolean |
Geometry.overlaps(Geometry other)
Tests whether this
Geometry spatially overlaps the specified Geometry . |
boolean |
Geometry.relate(Geometry other,
String matrix)
Tests whether this
Geometry is spatially related to the specified Geometry by testing
for intersections between the interior, boundary and exterior of the two geometric objects as specified by
the values in the intersection pattern matrix. |
Geometry |
Geometry.symDifference(Geometry other)
Returns a
Geometry that represents the point set symmetric difference of this Geometry with the
specified other Geometry . |
boolean |
Geometry.touches(Geometry other)
Tests whether this
Geometry spatially touches the specified Geometry . |
Geometry |
Geometry.union(Geometry other)
Returns the
Geometry that represents the point set union of this Geometry with the
specified other Geometry . |
boolean |
Geometry.within(Geometry other)
Tests whether this
Geometry is spatially within the specified Geometry . |
Constructor and Description |
---|
GeometryCollection(Geometry[] geometries)
Constructs a
GeometryCollection from the specified Geometry s. |
MeasureInterpolatingVisitor(Geometry geometry,
double startMeasure,
double endMeasure) |
Modifier and Type | Method and Description |
---|---|
Geometry |
DSL.GeometryToken.toGeometry(int srid) |
Modifier and Type | Interface and Description |
---|---|
interface |
ComposeGeometryBuilder<P extends Geometry,R extends Geometry>
A Builder for Geometries that are built from other Geometries.
|
interface |
ComposeGeometryBuilder<P extends Geometry,R extends Geometry>
A Builder for Geometries that are built from other Geometries.
|
interface |
GeometryBuilder2D<T extends Geometry> |
interface |
GeometryBuilder2DM<T extends Geometry> |
interface |
GeometryBuilder3D<T extends Geometry> |
interface |
GeometryBuilder3DM<T extends Geometry> |
interface |
SimpleGeometryBuilder<T extends Geometry>
A
GeometryBuilder that builds Geometry s from a PointSequence |
Modifier and Type | Method and Description |
---|---|
Geometry |
WkbDecoder.decode(ByteBuffer byteBuffer)
Decodes a WKB encoded representation of a
Geometry |
Geometry |
WktDecoder.decode(String wkt)
Decodes a WKT representation.
|
static Geometry |
Wkb.fromWkb(ByteBuffer byteBuffer)
Decodes a WKB representation in a
ByteBuffer to a Geometry . |
static Geometry |
Wkt.fromWkt(String wkt)
Decodes the specified WKT String to a
Geometry . |
Modifier and Type | Method and Description |
---|---|
String |
WktEncoder.encode(Geometry geometry)
Encodes an object to its WKT representation.
|
ByteBuffer |
WkbEncoder.encode(Geometry geometry,
ByteOrder byteOrder)
Encodes a
Geometry to its WKB representation |
static ByteBuffer |
Wkb.toWkb(Geometry geometry)
Encodes a
Geometry into a WKB representation using the NDR (little-endian) byte-order. |
static ByteBuffer |
Wkb.toWkb(Geometry geometry,
ByteOrder byteOrder)
Encodes a
Geometry into a WKB representation using the specified byte-order. |
static String |
Wkt.toWkt(Geometry geometry)
Encodes a
Geometry to a WKT representation. |
Modifier and Type | Interface and Description |
---|---|
interface |
Decoder<T extends Geometry>
Decodes native database objects to geometries of type T.
|
interface |
Encoder<T extends Geometry>
An
Encoder can encode
geometries of type T to a SqlServerGeometry . |
Modifier and Type | Method and Description |
---|---|
static <T extends Geometry> |
Encoders.encode(T geom) |
Modifier and Type | Method and Description |
---|---|
static Geometry |
Decoders.decode(byte[] raw)
Decodes the SQL Server Geometry object to its JTS Geometry instance
|
Modifier and Type | Method and Description |
---|---|
static Decoder<? extends Geometry> |
Decoders.decoderFor(OpenGisType type)
Returns the decoder capable of decoding an object of the specified OpenGisType
|
static Encoder<? extends Geometry> |
Encoders.encoderFor(Geometry geom) |
Modifier and Type | Method and Description |
---|---|
boolean |
Encoder.accepts(Geometry geom) |
static Encoder<? extends Geometry> |
Encoders.encoderFor(Geometry geom) |
Modifier and Type | Method and Description |
---|---|
String |
MortonCode.ofGeometry(Geometry geometry)
Returns the Morton code for the specified
Geometry . |
Modifier and Type | Method and Description |
---|---|
static Geometry |
JTS.from(com.vividsolutions.jts.geom.Geometry jtsGeometry)
Primary Factory method that converts a JTS geometry into an equivalent geolatte geometry
|
static Geometry |
JTS.from(com.vividsolutions.jts.geom.Geometry jtsGeometry,
CrsId crsId)
Factory method that converts a JTS geometry into an equivalent geolatte geometry and allows the caller to
specify the srid value of the resulting geolatte geometry.
|
Modifier and Type | Method and Description |
---|---|
static Class<? extends Geometry> |
JTS.getCorrespondingGeolatteClass(Class<? extends com.vividsolutions.jts.geom.Geometry> jtsGeometryClass)
Returns the Geolatte Geometry class that corresponds to the specified JTS class.
|
Modifier and Type | Method and Description |
---|---|
static com.vividsolutions.jts.geom.Geometry |
JTS.to(Geometry geometry)
Primary factory method that converts a geolatte geometry into an equivalent jts geometry
|
Modifier and Type | Method and Description |
---|---|
static Class<? extends com.vividsolutions.jts.geom.Geometry> |
JTS.getCorrespondingJTSClass(Class<? extends Geometry> geometryClass)
Returns the JTS Geometry class that corresponds to the specified Geolatte Geometry class.
|
Copyright © 2015 geolatte.org. All rights reserved.