public class Point3DGeometryType extends Point2DGeometryType
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 class. |
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.
|
getType, isTypeOfequals, getGeometryOperation, getGeometryOperations, hasM, hasZ, isSubTypeOf, isTypeOf, setGeometryOperation, toStringclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDimension, getFullName, getGeometryOperation, hasM, hasZ, isSubTypeOf, isTypeOf, setGeometryOperation, toStringpublic java.lang.String getName()
getName in interface GeometryTypegetName in class Point2DGeometryTypepublic int getSubType()
getSubType in interface GeometryTypegetSubType in class Point2DGeometryTypeGeometry.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 Point2DGeometryTypegeometrySubType - the value of the Geometry.SUBTYPES to check if is
it super subTypepublic Geometry create() throws CreateGeometryException
GeometryTypeGeometry with the type specified
by this class. The geometry is empty, and all the internal
attributes must be assigned to a value when the geometry has
been created.create in interface GeometryTypecreate in class Point2DGeometryTypeCreateGeometryExceptionpublic Point createPoint(double x, double y)
PointGeometryTypecreatePoint in interface PointGeometryTypecreatePoint in class Point2DGeometryTypex - the x coordinate of the pointy - the y coordinate of the pointpublic Point createPoint(double[] coordinates)
PointGeometryTypecreatePoint in interface PointGeometryTypecreatePoint in class Point2DGeometryTypecoordinates - the coordinates of the point