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
|
String |
getName() |
int |
getSubType() |
boolean |
isSubTypeOf(int geometrySubType)
Check if a geometry subType inherits of other subType.
|
getType, isTypeOf
equals, getGeometryOperation, getGeometryOperations, hasM, hasZ, isSubTypeOf, isTypeOf, setGeometryOperation, toString
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDimension, getFullName, getGeometryOperation, hasM, hasZ, isSubTypeOf, isTypeOf, setGeometryOperation, toString
public String getName()
getName
in interface GeometryType
getName
in class Point2DGeometryType
public int getSubType()
getSubType
in interface GeometryType
getSubType
in class Point2DGeometryType
Geometry.SUBTYPES
.
The subtype represents a set of geometries with a
dimensional relationship (2D, 3D, 2DM...)public boolean isSubTypeOf(int geometrySubType)
GeometryType
isSubTypeOf
in interface GeometryType
isSubTypeOf
in class Point2DGeometryType
geometrySubType
- the value of the Geometry.SUBTYPES
to check if is
it super subTypepublic Geometry create() throws CreateGeometryException
GeometryType
Geometry
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 GeometryType
create
in class Point2DGeometryType
CreateGeometryException
public Point createPoint(double x, double y)
PointGeometryType
createPoint
in interface PointGeometryType
createPoint
in class Point2DGeometryType
x
- the x coordinate of the pointy
- the y coordinate of the pointpublic Point createPoint(double[] coordinates)
PointGeometryType
createPoint
in interface PointGeometryType
createPoint
in class Point2DGeometryType
coordinates
- the coordinates of the point