org.gvsig.fmap.geom.primitive
Interface PointGeometryType

All Superinterfaces:
GeometryType
All Known Implementing Classes:
Point2DGeometryType, Point3DGeometryType

public interface PointGeometryType
extends GeometryType

Geometry type for point geometries.

Author:
gvSIG Team

Method Summary
 Point createPoint(double[] coordinates)
          Creates a new point object
 Point createPoint(double x, double y)
          Creates a new point object
 
Methods inherited from interface org.gvsig.fmap.geom.type.GeometryType
create, getGeometryOperation, getName, getSubType, getType, isSubTypeOf, isSubTypeOf, isTypeOf, isTypeOf, setGeometryOperation, toString
 

Method Detail

createPoint

Point createPoint(double x,
                  double y)
Creates a new point object

Parameters:
x - the x coordinate of the point
y - the y coordinate of the point
Returns:
the new point

createPoint

Point createPoint(double[] coordinates)
Creates a new point object

Parameters:
coordinates - the coordinates of the point
Returns:
the new point


Copyright © 2004-2013 gvSIG. All Rights Reserved.