org.gvsig.fmap.geom.primitive.impl
Class Spline2DZ

java.lang.Object
  extended by org.gvsig.fmap.geom.primitive.impl.AbstractPrimitive
      extended by org.gvsig.fmap.geom.primitive.impl.OrientablePrimitive2D
          extended by org.gvsig.fmap.geom.primitive.impl.OrientableCurve2D
              extended by org.gvsig.fmap.geom.primitive.impl.DefaultCurve
                  extended by org.gvsig.fmap.geom.primitive.impl.Curve2D
                      extended by org.gvsig.fmap.geom.primitive.impl.Spline2D
                          extended by org.gvsig.fmap.geom.primitive.impl.Spline2DZ
All Implemented Interfaces:
Shape, Serializable, Comparable, Geometry, Curve, FShape, OrientableCurve, OrientablePrimitive, Primitive, Spline

public class Spline2DZ
extends Spline2D
implements Spline

Author:
paco
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.gvsig.fmap.geom.Geometry
Geometry.DIMENSIONS, Geometry.OPERATIONS, Geometry.SUBTYPES, Geometry.TYPES
 
Field Summary
 
Fields inherited from class org.gvsig.fmap.geom.primitive.impl.OrientablePrimitive2D
gp
 
Fields inherited from class org.gvsig.fmap.geom.primitive.impl.AbstractPrimitive
geometryType, geomManager, id, projection
 
Fields inherited from interface org.gvsig.fmap.geom.Geometry
BEST, E, EXTENDED_GEOMSUBTYPE_OFFSET, EXTENDED_GEOMTYPE_OFFSET, N, NE, NW, S, SE, SELECTHANDLER, STRETCHINGHANDLER, SW, W
 
Constructor Summary
Spline2DZ(GeometryType geometryType)
          The constructor with the GeometryType like and argument is used by the GeometryType#create() to create the geometry
 
Method Summary
 int getDimension()
          Returns the largest number n such that each direct position in a geometric set can be associated with a subset that has the direct position in its interior and is similar (isomorphic) to Rn, Euclidean n-space.
 void setCoordinateAt(int index, int dimension, double value)
          Sets the value of a coordinate (direct position) in a concrete dimension
 
Methods inherited from class org.gvsig.fmap.geom.primitive.impl.Spline2D
addVertex, addVertexes, cloneFShape, getSelectHandlers, getShapeType, getStretchingHandlers, transform
 
Methods inherited from class org.gvsig.fmap.geom.primitive.impl.Curve2D
setPoints
 
Methods inherited from class org.gvsig.fmap.geom.primitive.impl.OrientablePrimitive2D
addMoveToVertex, closePrimitive, contains, contains, contains, contains, getBounds, getBounds2D, getCoordinateAt, getEnvelope, getGeneralPath, getGeneralPathX, getNumVertices, getPathIterator, getPathIterator, getVertex, insertVertex, intersects, intersects, removeVertex, reProject, setGeneralPath, setVertex
 
Methods inherited from class org.gvsig.fmap.geom.primitive.impl.AbstractPrimitive
area, buffer, centroid, cloneGeometry, compareTo, contains, containsPoint, containsRectangle, convertToWKB, convertToWKT, convexHull, coveredBy, crosses, difference, disjoint, distance, equals, fastIntersects, getGeometryType, getHandlers, getId, getInternalShape, getShape, getShape, getSRS, getType, intersection, intersects, intersectsRectangle, invokeOperation, invokeOperation, isSimple, moveGeom, overlaps, perimeter, rotateGeom, scaleGeom, toString, touches, transform, union, within
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.gvsig.fmap.geom.primitive.Curve
setPoints
 
Methods inherited from interface org.gvsig.fmap.geom.primitive.OrientablePrimitive
addMoveToVertex, addVertex, addVertexes, closePrimitive, getCoordinateAt, getNumVertices, getVertex, insertVertex, removeVertex, setGeneralPath, setVertex
 
Methods inherited from interface org.gvsig.fmap.geom.Geometry
area, buffer, centroid, cloneGeometry, contains, convertToWKB, convertToWKT, convexHull, coveredBy, crosses, difference, disjoint, distance, fastIntersects, getBounds2D, getEnvelope, getGeneralPath, getGeometryType, getHandlers, getInternalShape, getPathIterator, getPathIterator, getShape, getShape, getType, intersection, intersects, intersects, invokeOperation, invokeOperation, isSimple, overlaps, perimeter, reProject, touches, transform, union, within
 
Methods inherited from interface java.awt.Shape
contains, contains, contains, contains, getBounds, intersects
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

Spline2DZ

public Spline2DZ(GeometryType geometryType)
The constructor with the GeometryType like and argument is used by the GeometryType#create() to create the geometry

Parameters:
type - The geometry type
Method Detail

setCoordinateAt

public void setCoordinateAt(int index,
                            int dimension,
                            double value)
Description copied from interface: OrientablePrimitive
Sets the value of a coordinate (direct position) in a concrete dimension

Specified by:
setCoordinateAt in interface OrientablePrimitive
Overrides:
setCoordinateAt in class OrientablePrimitive2D
Parameters:
index - The index of the direct position to set
dimension - The dimension of the direct position
value - The value to set

getDimension

public int getDimension()
Description copied from interface: Geometry
Returns the largest number n such that each direct position in a geometric set can be associated with a subset that has the direct position in its interior and is similar (isomorphic) to Rn, Euclidean n-space.

Specified by:
getDimension in interface Geometry
Overrides:
getDimension in class OrientablePrimitive2D
Returns:
The dimension.


Copyright © 2004-2012 gvSIG. All Rights Reserved.