|
Spatial DataBlade JAVA API v8.21 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface MultiSurface
A MultiSurface is a two-dimensional geometric collection whose elements are surfaces. The interiors of any two surfaces in a MultiSurface may not intersect. The boundaries of any two elements in a MultiSurface may intersect at most at a finite number of points.
MultiSurface is a non-instantiable class in this specification, it defines a set of methods for its subclasses and is included for reasons of extensibility. The instantiable subclass of MultiSurface is MultiPolygon, corresponding to a collection of Polygons.
GeometryCollection,
Surface| Method Summary | |
|---|---|
double |
area()
The area of this MultiSurface (the sum of the areas of all constituent surfaces), as measured in the coordinate system of this MultiSurface. |
Point |
centroid()
The mathematical centroid for this MultiSurface. |
double |
perimeter()
Computes the total perimeter of this surface collection, as measured in the coordinate system of this MultiSurface. |
Point |
pointOnSurface()
A Point guaranteed to be on this MultiSurface. |
| Methods inherited from interface com.ibm.spatial.geom.GeometryCollection |
|---|
geometryN, numGeometries |
| Methods inherited from interface com.ibm.spatial.geom.Geometry |
|---|
asBinary, asText, boundary, buffer, contains, convexHull, crosses, difference, dimension, disjoint, distance, envelope, envelopesIntersect, equals, extent, exterior, interior, intersection, intersects, is3D, isEmpty, isMeasured, isSimple, isValid, locateAlong, locateBetween, numPoints, overlaps, srid, symmetricDiff, touches, union, within |
| Method Detail |
|---|
double area()
Point centroid()
throws SpatialException
SpatialException - if an error occurs during the calculation
of the point coordinates
Point pointOnSurface()
throws SpatialException
SpatialException - if an error occurs during the calculation
of the point coordinatesdouble perimeter()
|
Spatial DataBlade JAVA API v8.21 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||