| Modifier and Type | Field and Description |
|---|---|
| private double[] | envelope
The envelope of the value. |
| private Object | geometry
The value. |
| private final int | srid
Spatial reference system identifier. |
| private final int | typeAndDimensionSystem
Geometry type and dimension system in OGC geometry code format (type + dimensionSystem * 1000). |
| private static final double[] |
| Access | Constructor and Description |
|---|---|
| private | ValueGeometry(byte[]
the EWKB bytes bytes, double[] the envelope envelope)Create a new geometry object. |
| Modifier and Type | Method and Description |
|---|---|
| public static Value | Returns: the valueenvelope. May not be modified. envelope)Creates a geometry value for the given envelope. |
| public static ValueGeometry | |
| public static ValueGeometry | Returns: the valuethe WKB representation of the geometry. May not be modified. bytes)Get or create a geometry value for the given internal EWKB representation. |
| public int | Returns: dimension systemReturn a minimal dimension system that can be used for this geometry. |
| public double[] | |
| public Value | Returns: the union of this geometry envelope and another geometry envelopethe other geometry r)Get the union. |
| public static ValueGeometry | Returns: the valuethe WKB representation of the geometry bytes)Get or create a geometry value for the given EWKB value. |
| public static ValueGeometry | Returns: the valuethe geometry object (of type
org.locationtech.jts.geom.Geometry) o)Get or create a geometry value for the given geometry. |
| public org. | |
| public int | |
| public int | |
| public StringBuilder | getSQL(StringBuilder
string builder builder, int formatting flags sqlFlags)Overrides org. Implements org. Appends the SQL statement of this object to the specified builder. |
| public int | |
| public String | |
| public TypeInfo | getType()
Implements abstract org. Implements org. Returns the data type. |
| public int | Returns: geometry type and dimension systemReturns geometry type and dimension system in OGC geometry code format (type + dimensionSystem * 1000). |
| public int | |
| public boolean | Returns: true if the two overlapthe other geometry r)Test if this geometry envelope intersects with the other geometry envelope. |
| envelope | back to summary |
|---|---|
| private double[] envelope The envelope of the value. Calculated only on request. | |
| geometry | back to summary |
|---|---|
| private Object geometry The value. Converted from WKB only on request as conversion from/to WKB cost a significant amount of CPU cycles. | |
| srid | back to summary |
|---|---|
| private final int srid Spatial reference system identifier. | |
| typeAndDimensionSystem | back to summary |
|---|---|
| private final int typeAndDimensionSystem Geometry type and dimension system in OGC geometry code format (type + dimensionSystem * 1000). | |
| UNKNOWN_ENVELOPE | back to summary |
|---|---|
| private static final double[] UNKNOWN_ENVELOPE | |
| ValueGeometry | back to summary |
|---|---|
| private ValueGeometry(byte[] bytes, double[] envelope) Create a new geometry object.
| |
| fromEnvelope | back to summary |
|---|---|
| public static Value fromEnvelope(double[] envelope) Creates a geometry value for the given envelope.
| |
| get | back to summary |
|---|---|
| public static ValueGeometry get(String s) Get or create a geometry value for the given geometry.
| |
| get | back to summary |
|---|---|
| public static ValueGeometry get(byte[] bytes) Get or create a geometry value for the given internal EWKB representation.
| |
| getDimensionSystem | back to summary |
|---|---|
| public int getDimensionSystem() Return a minimal dimension system that can be used for this geometry.
| |
| getEnvelopeNoCopy | back to summary |
|---|---|
| public double[] getEnvelopeNoCopy() Return an envelope of this geometry. Do not modify the returned value.
| |
| getEnvelopeUnion | back to summary |
|---|---|
| public Value getEnvelopeUnion(ValueGeometry r) Get the union.
| |
| getFromEWKB | back to summary |
|---|---|
| public static ValueGeometry getFromEWKB(byte[] bytes) Get or create a geometry value for the given EWKB value.
| |
| getFromGeometry | back to summary |
|---|---|
| public static ValueGeometry getFromGeometry(Object o) Get or create a geometry value for the given geometry.
| |
| getGeometry | back to summary |
|---|---|
| public org. Get a copy of geometry object. Geometry object is mutable. The returned object is therefore copied before returning.
| |
| getGeometryType | back to summary |
|---|---|
| public int getGeometryType() Returns geometry type.
| |
| getMemory | back to summary |
|---|---|
| public int getMemory() Overrides org. Doc from org. Get the memory used by this object.
| |
| getSQL | back to summary |
|---|---|
| public StringBuilder getSQL(StringBuilder builder, int sqlFlags) Overrides org. Implements org. Doc from org. Appends the SQL statement of this object to the specified builder.
| |
| getSRID | back to summary |
|---|---|
| public int getSRID() Return a spatial reference system identifier.
| |
| getString | back to summary |
|---|---|
| public String getString() Implements abstract org. Doc from org. Get the value as a string. | |
| getType | back to summary |
|---|---|
| public TypeInfo getType() Implements abstract org. Implements org. Doc from org. Returns the data type. | |
| getTypeAndDimensionSystem | back to summary |
|---|---|
| public int getTypeAndDimensionSystem() Returns geometry type and dimension system in OGC geometry code format (type + dimensionSystem * 1000).
| |
| getValueType | back to summary |
|---|---|
| public int getValueType() Implements abstract org. Doc from org. Get the value type.
| |
| intersectsBoundingBox | back to summary |
|---|---|
| public boolean intersectsBoundingBox(ValueGeometry r) Test if this geometry envelope intersects with the other geometry envelope.
| |