oracle.sdoapi.geom
Interface MultiSurface

All Superinterfaces:
java.lang.Cloneable, Geometry, GeometryCollection, java.io.Serializable
All Known Subinterfaces:
MultiCurvePolygon, MultiPolygon

public interface MultiSurface
extends GeometryCollection

MultiSurface is an interface that represents a collection of multiple surfaces. The methods in this interface are exactly the same as in Surface interface, as specified by the OGC.


Method Summary
 double area()
          Computes the total area of this surface collection, as measured in this geometry's coordinate system.
 CoordPoint centroid()
          Computes the centroid of this surface collection, as measured in this geometry's coordinate system.
 void centroid(CoordPoint point)
          Computes the centroid of this surface collection, as measured in this geometry's coordinate system.
 double perimeter()
          Computes the total perimeter of this surface collection, as measured in this geometry's coordinate system.
 
Methods inherited from interface oracle.sdoapi.geom.GeometryCollection
getGeometries, getGeometryArray, getGeometryAt, getNumGeometries
 
Methods inherited from interface oracle.sdoapi.geom.Geometry
clone, getAllIsolatedPoints, getAllSegments, getCoordinateDimension, getDimensionality, getEnvelope, getGeometryType, getLabelPoint, getLabelPoint, getSpatialReference, isEmpty, isSimple, isValid, linearize
 

Method Detail

area

public double area()
Computes the total area of this surface collection, as measured in this geometry's coordinate system.
Returns:
area of this surface collection

perimeter

public double perimeter()
Computes the total perimeter of this surface collection, as measured in this geometry's coordinate system.
Returns:
perimeter of this surface collection

centroid

public CoordPoint centroid()
Computes the centroid of this surface collection, as measured in this geometry's coordinate system. The result will be a mathematical centroid, and is not guaranteed to be on this surface collection.
Returns:
mathematical centroid of this surface collection

centroid

public void centroid(CoordPoint point)
Computes the centroid of this surface collection, as measured in this geometry's coordinate system. The result will be a mathematical centroid, and is not guaranteed to be on this surface collection.
Parameters:
point - a preallocated coordinate point that is to be filled with the coordinates of the mathematical centroid of this surface collection