Class Point2DGeometryType

java.lang.Object
org.gvsig.fmap.geom.type.AbstractGeometryType
org.gvsig.fmap.geom.jts.DefaultGeometryType
org.gvsig.fmap.geom.jts.primitive.point.Point2DGeometryType
All Implemented Interfaces:
org.gvsig.fmap.geom.primitive.PointGeometryType, org.gvsig.fmap.geom.type.GeometryType

public class Point2DGeometryType extends DefaultGeometryType implements org.gvsig.fmap.geom.primitive.PointGeometryType
Geometry type implementation for the creation of Point2D objects.
Author:
gvSIG Team
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.gvsig.fmap.geom.Geometry
    This method creates a Geometry with the type specified by this GeometryType.
    org.gvsig.fmap.geom.primitive.Point
    createPoint(double[] coordinates)
     
    org.gvsig.fmap.geom.primitive.Point
    createPoint(double x, double y)
     
     
    int
     
    int
     
    boolean
    isSubTypeOf(int geometrySubType)
     
    boolean
    isTypeOf(int geometryType)
     

    Methods inherited from class org.gvsig.fmap.geom.jts.DefaultGeometryType

    addAlias, equals, getAlias, getDimension, getFullName, getGeometryClass, getSuperTypes, hashCode

    Methods inherited from class org.gvsig.fmap.geom.type.AbstractGeometryType

    getGeometryOperation, getGeometryOperations, hasM, hasZ, isSubTypeOf, isTypeOf, setGeometryOperation, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.gvsig.fmap.geom.type.GeometryType

    addAlias, getAlias, getDimension, getFullName, getGeometryClass, getGeometryOperation, getSuperTypes, hasM, hasZ, isSubTypeOf, isTypeOf, setGeometryOperation, toString
  • Constructor Details

    • Point2DGeometryType

      public Point2DGeometryType()
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface org.gvsig.fmap.geom.type.GeometryType
      Overrides:
      getName in class DefaultGeometryType
    • getType

      public int getType()
      Specified by:
      getType in interface org.gvsig.fmap.geom.type.GeometryType
      Overrides:
      getType in class DefaultGeometryType
    • getSubType

      public int getSubType()
      Specified by:
      getSubType in interface org.gvsig.fmap.geom.type.GeometryType
      Overrides:
      getSubType in class DefaultGeometryType
    • isTypeOf

      public boolean isTypeOf(int geometryType)
      Specified by:
      isTypeOf in interface org.gvsig.fmap.geom.type.GeometryType
      Overrides:
      isTypeOf in class DefaultGeometryType
    • isSubTypeOf

      public boolean isSubTypeOf(int geometrySubType)
      Specified by:
      isSubTypeOf in interface org.gvsig.fmap.geom.type.GeometryType
      Overrides:
      isSubTypeOf in class DefaultGeometryType
    • create

      public org.gvsig.fmap.geom.Geometry create() throws org.gvsig.fmap.geom.exception.CreateGeometryException
      Description copied from class: DefaultGeometryType
      This method creates a Geometry with the type specified by this GeometryType. The geometry has to have a constructor without arguments.
      Specified by:
      create in interface org.gvsig.fmap.geom.type.GeometryType
      Overrides:
      create in class DefaultGeometryType
      Returns:
      A new geometry
      Throws:
      org.gvsig.fmap.geom.exception.CreateGeometryException
    • createPoint

      public org.gvsig.fmap.geom.primitive.Point createPoint(double x, double y)
      Specified by:
      createPoint in interface org.gvsig.fmap.geom.primitive.PointGeometryType
    • createPoint

      public org.gvsig.fmap.geom.primitive.Point createPoint(double[] coordinates)
      Specified by:
      createPoint in interface org.gvsig.fmap.geom.primitive.PointGeometryType