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, getShape, getShape, getVertex, insertVertex, intersects, intersects, removeVertex, reProject, setCoordinateAt, setGeneralPath, setVertex |
| Methods inherited from class org.gvsig.fmap.geom.primitive.impl.AbstractPrimitive |
area, buffer, centroid, cloneGeometry, closestPoints, compareTo, contains, containsPoint, containsRectangle, convertToWKB, convertToWKT, convexHull, coveredBy, crosses, difference, disjoint, distance, equals, fastIntersects, getGeometryType, getHandlers, getId, getInteriorPoint, getInternalShape, getSRS, getType, intersection, intersects, intersectsRectangle, invokeOperation, invokeOperation, isSimple, isWithinDistance, move, overlaps, perimeter, rotate, scale, snapTo, 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, closestPoints, contains, convertToWKB, convertToWKT, convexHull, coveredBy, crosses, difference, disjoint, distance, fastIntersects, getBounds2D, getDimension, getEnvelope, getGeneralPath, getGeometryType, getHandlers, getInteriorPoint, getInternalShape, getPathIterator, getPathIterator, getShape, getShape, getType, intersection, intersects, intersects, invokeOperation, invokeOperation, isSimple, isWithinDistance, move, overlaps, perimeter, reProject, rotate, scale, snapTo, 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
Copyright © 2004-2013 gvSIG. All Rights Reserved.