org.gvsig.fmap.geom.primitive.impl
Class Spline2D
java.lang.Object
org.gvsig.fmap.geom.primitive.impl.AbstractPrimitive
org.gvsig.fmap.geom.primitive.impl.OrientablePrimitive2D
org.gvsig.fmap.geom.primitive.impl.OrientableCurve2D
org.gvsig.fmap.geom.primitive.impl.DefaultCurve
org.gvsig.fmap.geom.primitive.impl.Curve2D
org.gvsig.fmap.geom.primitive.impl.Spline2D
- All Implemented Interfaces:
- Shape, Serializable, Comparable, Geometry, Curve, FShape, OrientableCurve, OrientablePrimitive, Primitive, Spline
- Direct Known Subclasses:
- Spline2DZ
public class Spline2D
- extends Curve2D
- implements Spline
Spline2D.
- Author:
- Vicente Caballero Navarro
- See Also:
- Serialized Form
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 |
Spline2D(GeometryType geometryType)
The constructor with the GeometryType like and argument
is used by the GeometryType #create()
to create the geometry |
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, getDimension, getEnvelope, getGeneralPath, getGeneralPathX, getNumVertices, getPathIterator, getPathIterator, getVertex, insertVertex, intersects, intersects, removeVertex, reProject, setCoordinateAt, 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 interface org.gvsig.fmap.geom.primitive.Curve |
setPoints |
Methods inherited from interface org.gvsig.fmap.geom.Geometry |
area, buffer, centroid, cloneGeometry, contains, convertToWKB, convertToWKT, convexHull, coveredBy, crosses, difference, disjoint, distance, fastIntersects, getBounds2D, getDimension, getEnvelope, getGeneralPath, getGeometryType, getHandlers, getInternalShape, getPathIterator, getPathIterator, getShape, getShape, getType, intersection, intersects, intersects, invokeOperation, invokeOperation, isSimple, overlaps, perimeter, reProject, touches, union, within |
Spline2D
public Spline2D(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
getShapeType
public int getShapeType()
- Description copied from interface:
FShape
- Gets the geometry type of this shape.
- Specified by:
getShapeType
in interface FShape
- Overrides:
getShapeType
in class Curve2D
- Returns:
- int the geometry type of this shape.
cloneFShape
public FShape cloneFShape()
- Description copied from interface:
FShape
- Creates and returns a shape equal and independent of this one.
- Specified by:
cloneFShape
in interface FShape
- Overrides:
cloneFShape
in class Curve2D
- Returns:
- the new shape.
getStretchingHandlers
public Handler[] getStretchingHandlers()
- Description copied from interface:
FShape
- Returns the handlers they utilized to stretch the geometries.
- Specified by:
getStretchingHandlers
in interface FShape
- Overrides:
getStretchingHandlers
in class OrientablePrimitive2D
- Returns:
- Handlers the handlers used to stretch the geometries
getSelectHandlers
public Handler[] getSelectHandlers()
- Description copied from interface:
FShape
- Returns the handlers used to select the geometries.
- Specified by:
getSelectHandlers
in interface FShape
- Overrides:
getSelectHandlers
in class OrientablePrimitive2D
- Returns:
- Handlers the handlers used to select the geometries
transform
public void transform(AffineTransform at)
- Description copied from class:
OrientablePrimitive2D
- DOCUMENT ME!
- Specified by:
transform
in interface Geometry
- Specified by:
transform
in interface FShape
- Overrides:
transform
in class OrientablePrimitive2D
- Parameters:
at
- DOCUMENT ME!- See Also:
AffineTransform
addVertex
public void addVertex(Point point)
- Description copied from interface:
OrientablePrimitive
- Adds a vertex (or direct position) to the curve
- Specified by:
addVertex
in interface OrientablePrimitive
- Overrides:
addVertex
in class OrientablePrimitive2D
- Parameters:
point
- The new point to add
addVertexes
public void addVertexes(List vertexes)
- Description copied from interface:
OrientablePrimitive
- Adds a list of vertexes (or direct positions) to the curve
- Specified by:
addVertexes
in interface OrientablePrimitive
- Overrides:
addVertexes
in class OrientablePrimitive2D
- Parameters:
vertexes
- The new points to add
Copyright © 2004-2012 gvSIG. All Rights Reserved.