public class Point3DGeometryType extends DefaultGeometryType implements PointGeometryType
Point3D objects.| Constructor and Description |
|---|
Point3DGeometryType() |
| Modifier and Type | Method and Description |
|---|---|
Geometry |
create()
This method creates a
Geometry with the type specified by this
GeometryType. |
Point |
createPoint(double[] coordinates)
Creates a new point object
|
Point |
createPoint(double x,
double y)
Creates a new point object
|
java.lang.String |
getName() |
int |
getSubType() |
boolean |
isSubTypeOf(int geometrySubType)
Check if a geometry subType inherits of other subType.
|
addAlias, equals, getAlias, getDimension, getFullName, getGeometryClass, getSuperTypes, getType, hashCode, isTypeOfgetGeometryOperation, getGeometryOperations, hasM, hasZ, isSubTypeOf, isTypeOf, setGeometryOperation, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAlias, getAlias, getDimension, getFullName, getGeometryClass, getGeometryOperation, getSuperTypes, getType, hasM, hasZ, isSubTypeOf, isTypeOf, isTypeOf, setGeometryOperation, toStringpublic java.lang.String getName()
getName in interface GeometryTypegetName in class DefaultGeometryTypepublic int getSubType()
getSubType in interface GeometryTypegetSubType in class DefaultGeometryTypeGeometry.SUBTYPES. The subtype represents
a set of geometries with a dimensional relationship (2D, 3D, 2DM...)public boolean isSubTypeOf(int geometrySubType)
GeometryTypeisSubTypeOf in interface GeometryTypeisSubTypeOf in class DefaultGeometryTypegeometrySubType - the value of the Geometry.SUBTYPES to
check if is it super subTypepublic Geometry create() throws CreateGeometryException
DefaultGeometryTypeGeometry with the type specified by this
GeometryType. The geometry has to have a constructor without arguments.create in interface GeometryTypecreate in class DefaultGeometryTypeCreateGeometryExceptionpublic Point createPoint(double x, double y)
PointGeometryTypecreatePoint in interface PointGeometryTypex - the x coordinate of the pointy - the y coordinate of the pointpublic Point createPoint(double[] coordinates)
PointGeometryTypecreatePoint in interface PointGeometryTypecoordinates - the coordinates of the point