Class SDOGeometry
- java.lang.Object
-
- org.geolatte.geom.codec.db.oracle.SDOGeometry
-
public class SDOGeometry extends Object
- Author:
- Karel Maesen, Geovise BVBA creation-date: Jun 30, 2010
-
-
Constructor Summary
Constructors Constructor Description SDOGeometry(org.geolatte.geom.codec.db.oracle.SDOGType gtype, int srid, org.geolatte.geom.codec.db.oracle.SDOPoint point, org.geolatte.geom.codec.db.oracle.ElemInfo info, org.geolatte.geom.codec.db.oracle.Ordinates ordinates)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)intgetDimension()SDOGeometry[]getElementGeometries()If this SDOGeometry is a COLLECTION, this method returns an array of the SDO_GEOMETRIES that make up the collection.org.geolatte.geom.codec.db.oracle.SDOGTypegetGType()org.geolatte.geom.codec.db.oracle.ElemInfogetInfo()intgetLRSDimension()intgetNumElements()Gets the number of elements or compound elements.org.geolatte.geom.codec.db.oracle.OrdinatesgetOrdinates()org.geolatte.geom.codec.db.oracle.SDOPointgetPoint()static StringgetPointTypeName()intgetSRID()static StringgetTypeName()intgetZDimension()inthashCode()booleanisLRSGeometry()static SDOGeometryload(Struct struct)StringtoString()
-
-
-
Method Detail
-
getTypeName
public static String getTypeName()
-
getPointTypeName
public static String getPointTypeName()
-
load
public static SDOGeometry load(Struct struct)
-
getInfo
public org.geolatte.geom.codec.db.oracle.ElemInfo getInfo()
-
getGType
public org.geolatte.geom.codec.db.oracle.SDOGType getGType()
-
getOrdinates
public org.geolatte.geom.codec.db.oracle.Ordinates getOrdinates()
-
getPoint
public org.geolatte.geom.codec.db.oracle.SDOPoint getPoint()
-
getSRID
public int getSRID()
-
isLRSGeometry
public boolean isLRSGeometry()
-
getDimension
public int getDimension()
-
getLRSDimension
public int getLRSDimension()
-
getZDimension
public int getZDimension()
-
getNumElements
public int getNumElements()
Gets the number of elements or compound elements. Subelements of a compound element are not counted.- Returns:
- the number of elements
-
getElementGeometries
public SDOGeometry[] getElementGeometries()
If this SDOGeometry is a COLLECTION, this method returns an array of the SDO_GEOMETRIES that make up the collection. If not a Collection, an array containing this SDOGeometry is returned.- Returns:
- collection elements as individual SDO_GEOMETRIES
-
-