|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.geometry.jts.spatialschema.geometry.GeometryImpl
org.geotools.geometry.jts.spatialschema.geometry.complex.ComplexImpl
org.geotools.geometry.jts.spatialschema.geometry.complex.CompositeImpl
org.geotools.geometry.jts.spatialschema.geometry.complex.CompositeSurfaceImpl
public class CompositeSurfaceImpl
A complex with all the geometric properties of a surface. Thus, this composite can be considered as a type of orientable surface. Essentially, a composite surface is a collection of oriented surfaces that join in pairs on common boundary curves and which, when considered as a whole, form a single surface.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.geotools.geometry.jts.spatialschema.geometry.GeometryImpl |
---|
GeometryImpl.MathTransformFilter |
Field Summary |
---|
Fields inherited from class org.geotools.geometry.jts.spatialschema.geometry.complex.ComplexImpl |
---|
setViewOfElements |
Constructor Summary | |
---|---|
CompositeSurfaceImpl()
|
Method Summary | |
---|---|
org.opengis.geometry.primitive.SurfaceBoundary |
getBoundary()
Returns the set of circular sequences of orientable curve that limit the extent of this OrientableSurface . |
java.util.Set<org.opengis.geometry.complex.Complex> |
getComplexes()
Returns the set of complexes which contains this primitive. |
org.opengis.geometry.complex.CompositeSurface |
getComposite()
Returns the owner of this orientable surface, or null if none. |
java.util.Set<org.opengis.geometry.primitive.Primitive> |
getContainedPrimitives()
Returns the Primitive s which are by definition coincident with this one. |
java.util.Set<org.opengis.geometry.primitive.Primitive> |
getContainingPrimitives()
Returns the Primitive s which are by definition coincident with this one. |
java.util.Set<org.opengis.geometry.primitive.OrientableSurface> |
getGenerators()
Returns the list of orientable surfaces in this composite. |
int |
getOrientation()
Determines which of the two possible orientations this object represents. |
org.opengis.geometry.primitive.Surface |
getPrimitive()
Returns the primitive associated with this OrientablePrimitive . |
org.opengis.geometry.primitive.OrientablePrimitive[] |
getProxy()
Returns the orientable primitives associated with this primitive. |
Methods inherited from class org.geotools.geometry.jts.spatialschema.geometry.complex.ComplexImpl |
---|
computeJTSPeer, getElementList, getElements, getSubComplexes, getSubComplexSet, getSuperComplexes, isMaximal |
Methods inherited from class org.geotools.geometry.jts.spatialschema.geometry.GeometryImpl |
---|
clone, contains, contains, difference, distance, equals, getBuffer, getCentroid, getClosure, getConvexHull, getCoordinateDimension, getCoordinateReferenceSystem, getDimension, getDistance, getEnvelope, getJTSGeometry, getMaximalComplex, getMbRegion, getPrecision, getRepresentativePoint, intersection, intersects, invalidateCachedJTSPeer, isCycle, isMutable, isSimple, listAsSet, setJTSPeer, setParent, symmetricDifference, toImmutable, transform, transform, union |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.opengis.geometry.complex.Complex |
---|
getElements, getSubComplexes, getSuperComplexes, isMaximal |
Methods inherited from interface org.opengis.geometry.Geometry |
---|
clone, distance, getBuffer, getCentroid, getClosure, getConvexHull, getCoordinateDimension, getCoordinateReferenceSystem, getDimension, getEnvelope, getMaximalComplex, getMbRegion, getPrecision, getRepresentativePoint, isCycle, isMutable, isSimple, toImmutable, transform, transform |
Methods inherited from interface org.opengis.geometry.TransfiniteSet |
---|
contains, contains, difference, equals, intersection, intersects, symmetricDifference, union |
Constructor Detail |
---|
public CompositeSurfaceImpl()
Method Detail |
---|
public java.util.Set<org.opengis.geometry.primitive.OrientableSurface> getGenerators()
points
on the boundary of the generator set of surfaces would be added to the curves in the generator list.
getGenerators
in interface org.opengis.geometry.complex.Composite
getGenerators
in interface org.opengis.geometry.complex.CompositeSurface
getGenerators
in class CompositeImpl
public org.opengis.geometry.primitive.SurfaceBoundary getBoundary()
OrientableSurface
. These curves shall be organized
into one circular sequence of curves for each boundary component of the
OrientableSurface
. In cases where "exterior" boundary is not
well defined, all the rings of the surface boundary
shall be listed as "interior".
NOTE: The concept of exterior boundary for a surface is really only valid in a 2-dimensional plane. A bounded cylinder has two boundary components, neither of which can logically be classified as its exterior. Thus, in 3 dimensions, there is no valid definition of exterior that covers all cases.
getBoundary
in interface org.opengis.geometry.Geometry
getBoundary
in interface org.opengis.geometry.primitive.OrientableSurface
getBoundary
in interface org.opengis.geometry.primitive.Primitive
getBoundary
in class GeometryImpl
public org.opengis.geometry.complex.CompositeSurface getComposite()
null
if none.
getComposite
in interface org.opengis.geometry.primitive.OrientableSurface
getComposite
in interface org.opengis.geometry.primitive.Primitive
null
if none.public int getOrientation()
getOrientation
in interface org.opengis.geometry.primitive.OrientablePrimitive
public org.opengis.geometry.primitive.Surface getPrimitive()
OrientablePrimitive
.
Each primitive of dimension 1 or 2 is associated to two
OrientablePrimitive
s, one for each possible orientation.
For curves and surfaces, there are exactly two orientable primitives
for each geometric object.
getPrimitive
in interface org.opengis.geometry.primitive.OrientablePrimitive
getPrimitive
in interface org.opengis.geometry.primitive.OrientableSurface
null
.Primitive.getProxy()
public java.util.Set<org.opengis.geometry.primitive.Primitive> getContainedPrimitives()
Primitive
s which are by definition coincident with this one.
This allows applications to override the
TransfiniteSet<DirectPosition>
interpretation and its associated computational geometry, and declare one
Primitive
to be "interior to" another.
This set should normally be empty when the Primitive
s are within a
complex, since in that case the boundary
information is sufficient for most cases.
This association should not be used when the two Primitive
s are not close
to one another. The intent is to allow applications to compensate for inherent and
unavoidable round off, truncation, and other mathematical problems indigenous to
computer calculations.
getContainedPrimitives
in interface org.opengis.geometry.primitive.Primitive
getContainingPrimitives()
public java.util.Set<org.opengis.geometry.primitive.Primitive> getContainingPrimitives()
Primitive
s which are by definition coincident with this one.
getContainingPrimitives
in interface org.opengis.geometry.primitive.Primitive
getContainedPrimitives()
public java.util.Set<org.opengis.geometry.complex.Complex> getComplexes()
Primitive
may
be in several complexes. This association may not be navigable in this
direction (from primitive to complex), depending on the implementation.
getComplexes
in interface org.opengis.geometry.primitive.Primitive
public org.opengis.geometry.primitive.OrientablePrimitive[] getProxy()
Primitive
of dimension 1 or 2 is associated to two orientable primitives,
one for each possible orientation. For curves and surfaces, there are exactly two orientable
primitives for each geometric object. For the positive orientation, the
orientable primitive shall be the corresponding
curve or surface.
getProxy
in interface org.opengis.geometry.primitive.Primitive
null
if none.OrientablePrimitive.getPrimitive()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |