|
Spatial DataBlade JAVA API v8.21 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MultiCurve
A MultiCurve is a one-dimensional GeometryCollection whose elements are Curves. MultiCurve defines a set of methods for its subinterfaces and is included for reasons of extensibility.
A MultiCurve is simple if and only if all of its elements are simple, the only intersections between any two elements occur at points that are on the boundaries of both elements.
The boundary of a MultiCurve is obtained by applying the modulo 2 union rule: A point is in the boundary of a MultiCurve if it is in the boundaries of an odd number of elements of the MultiCurve.
A MultiCurve is closed if all of its elements are closed. The boundary of a closed MultiCurve is always empty.
A MultiCurve is defined as topologically closed.
GeometryCollection
,
Curve
Method Summary | |
---|---|
boolean |
isClosed()
Determines whether this MultiCurve is closed on not. |
double |
length()
The length of this MultiCurve, which is equal to the sum of the lengths of the element Curves. |
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 |
---|
boolean isClosed()
true
if this MultiCurve is closed
(startPoint() equals endPoint() for each curve in this
MultiCurve); otherwise, it returns false
double length()
|
Spatial DataBlade JAVA API v8.21 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |