|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gvsig.fmap.geom.type.AbstractGeometryType
org.gvsig.fmap.geom.primitive.impl.Point2DGeometryType
public class Point2DGeometryType
Geometry type implementation for the creation of Point2D objects.
| Constructor Summary | |
|---|---|
Point2DGeometryType()
|
|
| Method Summary | |
|---|---|
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()
|
int |
getType()
|
boolean |
isSubTypeOf(int geometrySubType)
Check if a geometry subType inherits of other subType. |
boolean |
isTypeOf(int geometryType)
Check if a geometry type inherits of other type. |
| Methods inherited from class org.gvsig.fmap.geom.type.AbstractGeometryType |
|---|
equals, getGeometryOperation, getGeometryOperations, isSubTypeOf, isTypeOf, setGeometryOperation, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.gvsig.fmap.geom.type.GeometryType |
|---|
getGeometryOperation, isSubTypeOf, isTypeOf, setGeometryOperation, toString |
| Constructor Detail |
|---|
public Point2DGeometryType()
| Method Detail |
|---|
public String getName()
getName in interface GeometryTypepublic int getType()
getType in interface GeometryTypeGeometry.TYPES
The type is an abstract representation of the object (Point, Curve...)
but it is not a concrete representation (Point2D, Point3D...).public int getSubType()
getSubType in interface GeometryTypeGeometry.SUBTYPES.
The subtype represents a set of geometries with a
dimensional relationship (2D, 3D, 2DM...)public boolean isTypeOf(int geometryType)
GeometryType
isTypeOf in interface GeometryTypegeometryType - the value of the Geometry.TYPES to check if is
it super type
public boolean isSubTypeOf(int geometrySubType)
GeometryType
isSubTypeOf in interface GeometryTypegeometrySubType - the value of the Geometry.SUBTYPES to check if is
it super subType
public 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 GeometryTypeCreateGeometryException
public Point createPoint(double x,
double y)
PointGeometryType
createPoint in interface PointGeometryTypex - the x coordinate of the pointy - the y coordinate of the point
public Point createPoint(double[] coordinates)
PointGeometryType
createPoint in interface PointGeometryTypecoordinates - the coordinates of the point
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||