|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gvsig.fmap.geom.primitive.impl.AbstractPrimitive
org.gvsig.fmap.geom.primitive.impl.Solid2DZ
public class Solid2DZ
| 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.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 | |
|---|---|
Solid2DZ(GeometryType geometryType)
The constructor with the GeometryType like and argument is used by the GeometryType#create()
to create the geometry |
|
| Method Summary | |
|---|---|
void |
addSurface(Surface surface)
Add a surface to the Solid |
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(Point2D arg0)
|
boolean |
contains(Rectangle2D arg0)
|
Appearance |
getAppearance()
Gets the appearance of a solid |
Rectangle |
getBounds()
|
Rectangle2D |
getBounds2D()
Returns this geometry's boundary rectangle. |
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. |
Envelope |
getEnvelope()
Returns the minimum bounding box for this Geometry. |
GeneralPathX |
getGeneralPath()
Get GeneralPathIterator, to do registered operations to it. |
int |
getNumSurfaces()
Get the number of surfaces in a solid |
PathIterator |
getPathIterator(AffineTransform arg0)
If applies an affine transformation and returns the GeneralPathXIterator with this geometry's information. |
PathIterator |
getPathIterator(AffineTransform arg0,
double arg1)
If applies an affine transformation and returns the GeneralPathXIterator with this geometry's information. |
Handler[] |
getSelectHandlers()
Returns the handlers used to select the geometries. |
int |
getShapeType()
Gets the geometry type of this shape. |
Handler[] |
getStretchingHandlers()
Returns the handlers they utilized to stretch the geometries. |
Surface |
getSurfaceAt(int position)
Gets a surface in a concrete position |
double[] |
getZs()
|
boolean |
intersects(double arg0,
double arg1,
double arg2,
double arg3)
|
boolean |
intersects(Rectangle2D arg0)
Returns true if this geometry intersects the rectangle passed as parameter. |
void |
removeSurface(int position)
Remove surface from solid at concrete position |
void |
reProject(org.cresques.cts.ICoordTrans ct)
Reprojects this geometry by the coordinate transformer passed as parameter. |
void |
setAppearance(Appearance app)
Sets the appearance of a Solid |
void |
transform(AffineTransform at)
It applies an affine transformation to the geometry. |
| 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, getShape, getShape, getSRS, getType, intersection, intersects, intersectsRectangle, invokeOperation, invokeOperation, isSimple, isWithinDistance, move, overlaps, perimeter, rotate, scale, snapTo, 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.Geometry |
|---|
area, buffer, centroid, cloneGeometry, closestPoints, contains, convertToWKB, convertToWKT, convexHull, coveredBy, crosses, difference, disjoint, distance, fastIntersects, getGeometryType, getHandlers, getInteriorPoint, getInternalShape, getShape, getShape, getType, intersection, intersects, invokeOperation, invokeOperation, isSimple, isWithinDistance, move, overlaps, perimeter, rotate, scale, snapTo, touches, union, within |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Constructor Detail |
|---|
public Solid2DZ(GeometryType geometryType)
GeometryType#create()
to create the geometry
type - The geometry type| Method Detail |
|---|
public FShape cloneFShape()
FShape
cloneFShape in interface FShapepublic Handler[] getSelectHandlers()
FShape
getSelectHandlers in interface FShapepublic int getShapeType()
FShape
getShapeType in interface FShapegetShapeType in class AbstractPrimitivepublic Handler[] getStretchingHandlers()
FShape
getStretchingHandlers in interface FShapepublic void reProject(org.cresques.cts.ICoordTrans ct)
Geometry
reProject in interface GeometryreProject in interface FShapect - Coordinate Transformer.public void transform(AffineTransform at)
Geometry
transform in interface Geometrytransform in interface FShapeat - The transformation to apply.AffineTransformpublic boolean contains(Point2D arg0)
contains in interface Shapepublic boolean contains(Rectangle2D arg0)
contains in interface Shape
public boolean contains(double arg0,
double arg1)
contains in interface Shape
public boolean contains(double arg0,
double arg1,
double arg2,
double arg3)
contains in interface Shapepublic Rectangle getBounds()
getBounds in interface Shapepublic Rectangle2D getBounds2D()
Geometry
getBounds2D in interface ShapegetBounds2D in interface Geometrypublic PathIterator getPathIterator(AffineTransform arg0)
Geometry
getPathIterator in interface ShapegetPathIterator in interface Geometryarg0 - The transformation to apply.
public PathIterator getPathIterator(AffineTransform arg0,
double arg1)
Geometry
getPathIterator in interface ShapegetPathIterator in interface Geometryarg0 - The affine transformation.
public boolean intersects(Rectangle2D arg0)
Geometry
intersects in interface Shapeintersects in interface Geometryarg0 - Rectangle.
this intersects r.
public boolean intersects(double arg0,
double arg1,
double arg2,
double arg3)
intersects in interface Shapepublic int getDimension()
Geometry
getDimension in interface Geometrypublic Envelope getEnvelope()
GeometryReturns the minimum bounding box for this Geometry. This shall be the coordinate region spanning the minimum and maximum value for each ordinate taken on by DirectPositions in this Geometry. The simplest representation for an envelope consists of two DirectPositions, the first one containing all the minimums for each ordinate, and second one containing all the maximums.
getEnvelope in interface Geometrypublic GeneralPathX getGeneralPath()
Geometry
getGeneralPath in interface Geometrypublic double[] getZs()
public void addSurface(Surface surface)
Solid
addSurface in interface Solidsurface - the surface to addpublic Appearance getAppearance()
Solid
getAppearance in interface Solidpublic int getNumSurfaces()
Solid
getNumSurfaces in interface Solidpublic Surface getSurfaceAt(int position)
Solid
getSurfaceAt in interface Solidposition - the concrete position
public void removeSurface(int position)
Solid
removeSurface in interface Solidposition - the concrete positionpublic void setAppearance(Appearance app)
Solid
setAppearance in interface Solidapp - the appearance
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||