org.gvsig.fmap.geom.primitive
Interface Surface
- All Superinterfaces:
- Comparable, Geometry, OrientablePrimitive, OrientableSurface, Primitive, Serializable, Shape
- All Known Subinterfaces:
- Circle, CompositeSurface, Ellipse, EllipticArc
- All Known Implementing Classes:
- Circle2D, Circle2DZ, Ellipse2D, Ellipse2DZ, EllipticArc2D, EllipticArc2DZ, Surface2D, Surface2DZ
public interface Surface
- extends OrientableSurface
This interface is equivalent to the GM_Surface specified in ISO 19107. Surface is a subclass of Primitive
and is the basis
for 2-dimensional geometry. Unorientable surfaces such as the M�bius band
are not allowed.
The orientation of a surface chooses an "up" direction through the choice of
the upward normal, which, if the surface is not a cycle, is the side of the
surface from which the exterior boundary appears counterclockwise. Reversal
of the surface orientation reverses the curve orientation of each boundary
component, and interchanges the conceptual "up" and "down" direction of the
surface.
If the surface is the boundary of a solid, the "up" direction is usually
outward. For closed surfaces, which have no boundary, the up direction is
that of the surface patches, which must be consistent with one another.
- Author:
- Jorge Piera, Jordi Torres Fabra
- See Also:
- ISO
19107
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 |
Methods inherited from interface org.gvsig.fmap.geom.primitive.OrientablePrimitive |
addMoveToVertex, addVertex, addVertexes, closePrimitive, getCoordinateAt, getNumVertices, getVertex, insertVertex, removeVertex, setCoordinateAt, 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, getDimension, getEnvelope, getGeneralPath, getGeometryType, getHandlers, getInternalShape, getPathIterator, getPathIterator, getShape, getShape, getType, intersection, intersects, intersects, invokeOperation, invokeOperation, isSimple, overlaps, perimeter, reProject, touches, transform, union, within |
setSurfaceAppearance
void setSurfaceAppearance(SurfaceAppearance app)
- Sets the appearance of the Surface
- Parameters:
app
- The appearance of the surface
getSurfaceAppearance
SurfaceAppearance getSurfaceAppearance()
- Gets surface appearance
- Returns:
- the surface appearance
Copyright © 2004-2012 gvSIG. All Rights Reserved.