public class Solid2DZ extends AbstractPrimitive implements org.gvsig.fmap.geom.primitive.Solid
geometryType, geomManager, id, logger, projection| Constructor and Description |
|---|
Solid2DZ(org.gvsig.fmap.geom.type.GeometryType geometryType)
The constructor with the GeometryType like and argument
is used by the
GeometryType#create()
to create the geometry |
| Modifier and Type | Method and Description |
|---|---|
void |
addSurface(org.gvsig.fmap.geom.primitive.Surface surface) |
org.gvsig.fmap.geom.generalpath.gputils.FShape |
cloneFShape()
Creates and returns a shape equal and independent of this one.
|
boolean |
contains(double arg0,
double arg1) |
boolean |
contains(double arg0,
double arg1,
double arg2,
double arg3) |
boolean |
contains(java.awt.geom.Point2D arg0) |
boolean |
contains(java.awt.geom.Rectangle2D arg0) |
org.gvsig.fmap.geom.primitive.Appearance |
getAppearance() |
java.awt.Rectangle |
getBounds() |
java.awt.geom.Rectangle2D |
getBounds2D() |
int |
getDimension() |
org.gvsig.fmap.geom.primitive.Envelope |
getEnvelope() |
org.gvsig.fmap.geom.primitive.GeneralPathX |
getGeneralPath() |
int |
getNumSurfaces() |
java.awt.geom.PathIterator |
getPathIterator(java.awt.geom.AffineTransform arg0) |
java.awt.geom.PathIterator |
getPathIterator(java.awt.geom.AffineTransform arg0,
double arg1) |
org.gvsig.fmap.geom.handler.Handler[] |
getSelectHandlers()
Returns the handlers used to select the geometries.
|
int |
getShapeType()
Gets the geometry type of this shape.
|
org.gvsig.fmap.geom.handler.Handler[] |
getStretchingHandlers()
Returns the handlers they utilized to stretch the geometries.
|
org.gvsig.fmap.geom.primitive.Surface |
getSurfaceAt(int position) |
double[] |
getZs() |
boolean |
intersects(double arg0,
double arg1,
double arg2,
double arg3) |
boolean |
intersects(java.awt.geom.Rectangle2D arg0) |
void |
removeSurface(int position) |
void |
reProject(org.cresques.cts.ICoordTrans ct)
Re-projects this shape using transformation coordinates.
|
void |
setAppearance(org.gvsig.fmap.geom.primitive.Appearance app) |
void |
transform(java.awt.geom.AffineTransform at)
Executes a 2D transformation on this shape, using six parameters.
|
area, buffer, centroid, cloneGeometry, closestPoints, compareTo, contains, containsPoint, containsRectangle, convertToWKB, convertToWKB, convertToWKBForcingType, convertToWKT, convexHull, coveredBy, covers, crosses, difference, disjoint, distance, equals, fastIntersects, getGeometryType, getHandlers, getId, getInteriorPoint, getShape, getShape, getSRS, getType, getValidationStatus, intersection, intersects, intersectsRectangle, invokeOperation, invokeOperation, isCCW, isSimple, isValid, isWithinDistance, makeValid, move, overlaps, perimeter, rotate, scale, snapTo, toJTS, toString, touches, transform, union, withinclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitarea, buffer, centroid, cloneGeometry, closestPoints, contains, convertToWKB, convertToWKB, convertToWKBForcingType, convertToWKT, convexHull, coveredBy, covers, crosses, difference, disjoint, distance, fastIntersects, getGeometryType, getHandlers, getInteriorPoint, getInternalShape, getShape, getShape, getType, getValidationStatus, intersection, intersects, invokeOperation, invokeOperation, isCCW, isSimple, isValid, isWithinDistance, makeValid, move, overlaps, perimeter, rotate, scale, snapTo, touches, union, withinpublic Solid2DZ(org.gvsig.fmap.geom.type.GeometryType geometryType)
GeometryType#create()
to create the geometrytype - The geometry typepublic void addSurface(org.gvsig.fmap.geom.primitive.Surface surface)
addSurface in interface org.gvsig.fmap.geom.primitive.Solidpublic org.gvsig.fmap.geom.generalpath.gputils.FShape cloneFShape()
FShapecloneFShape in interface org.gvsig.fmap.geom.generalpath.gputils.FShapepublic boolean contains(double arg0,
double arg1)
contains in interface java.awt.Shapepublic boolean contains(double arg0,
double arg1,
double arg2,
double arg3)
contains in interface java.awt.Shapepublic boolean contains(java.awt.geom.Point2D arg0)
contains in interface java.awt.Shapepublic boolean contains(java.awt.geom.Rectangle2D arg0)
contains in interface java.awt.Shapepublic org.gvsig.fmap.geom.primitive.Appearance getAppearance()
getAppearance in interface org.gvsig.fmap.geom.primitive.Solidpublic java.awt.Rectangle getBounds()
getBounds in interface java.awt.Shapepublic java.awt.geom.Rectangle2D getBounds2D()
getBounds2D in interface java.awt.ShapegetBounds2D in interface org.gvsig.fmap.geom.Geometrypublic int getDimension()
getDimension in interface org.gvsig.fmap.geom.Geometrypublic org.gvsig.fmap.geom.primitive.Envelope getEnvelope()
getEnvelope in interface org.gvsig.fmap.geom.Geometrypublic org.gvsig.fmap.geom.primitive.GeneralPathX getGeneralPath()
getGeneralPath in interface org.gvsig.fmap.geom.Geometrypublic int getNumSurfaces()
getNumSurfaces in interface org.gvsig.fmap.geom.primitive.Solidpublic java.awt.geom.PathIterator getPathIterator(java.awt.geom.AffineTransform arg0)
getPathIterator in interface java.awt.ShapegetPathIterator in interface org.gvsig.fmap.geom.Geometrypublic java.awt.geom.PathIterator getPathIterator(java.awt.geom.AffineTransform arg0,
double arg1)
getPathIterator in interface java.awt.ShapegetPathIterator in interface org.gvsig.fmap.geom.Geometrypublic org.gvsig.fmap.geom.handler.Handler[] getSelectHandlers()
FShapegetSelectHandlers in interface org.gvsig.fmap.geom.generalpath.gputils.FShapepublic int getShapeType()
FShapegetShapeType in interface org.gvsig.fmap.geom.generalpath.gputils.FShapegetShapeType in class AbstractPrimitivepublic org.gvsig.fmap.geom.handler.Handler[] getStretchingHandlers()
FShapegetStretchingHandlers in interface org.gvsig.fmap.geom.generalpath.gputils.FShapepublic org.gvsig.fmap.geom.primitive.Surface getSurfaceAt(int position)
getSurfaceAt in interface org.gvsig.fmap.geom.primitive.Solidpublic double[] getZs()
public boolean intersects(double arg0,
double arg1,
double arg2,
double arg3)
intersects in interface java.awt.Shapepublic boolean intersects(java.awt.geom.Rectangle2D arg0)
intersects in interface java.awt.Shapeintersects in interface org.gvsig.fmap.geom.Geometrypublic void removeSurface(int position)
removeSurface in interface org.gvsig.fmap.geom.primitive.Solidpublic void reProject(org.cresques.cts.ICoordTrans ct)
FShapereProject in interface org.gvsig.fmap.geom.generalpath.gputils.FShapereProject in interface org.gvsig.fmap.geom.Geometryct - the transformation coordinatespublic void setAppearance(org.gvsig.fmap.geom.primitive.Appearance app)
setAppearance in interface org.gvsig.fmap.geom.primitive.Solidpublic void transform(java.awt.geom.AffineTransform at)
FShapetransform in interface org.gvsig.fmap.geom.generalpath.gputils.FShapetransform in interface org.gvsig.fmap.geom.Geometryat - object that allows execute the affine transformationAffineTransformCopyright © 2014 gvSIG Association. All Rights Reserved.