GeoAPI 2.0
Build 2005-06-08

org.opengis.spatialschema.geometry.primitive
Interface OrientableCurve

All Superinterfaces:
Geometry, OrientablePrimitive, Primitive, TransfiniteSet
All Known Subinterfaces:
CompositeCurve, Curve, Ring

@UML(identifier="GM_OrientableCurve",
     specification=ISO_19107)
public interface OrientableCurve
extends OrientablePrimitive

A curve and an orientation inherited from OrientablePrimitive. If the orientation is positive, then the OrientableCurve is a curve. If the orientation is negative, then the OrientableCurve is related to another curve with a parameterization that reverses the sense of the curve traversal.

Since:
GeoAPI 1.0
Version:
Abstract specification 5

Method Summary
 CurveBoundary getBoundary()
          Returns an ordered pair of points, which are the start point and end point of the curve.
 CompositeCurve getComposite()
          Returns the owner of this orientable curve, or null if none.
 
Methods inherited from interface OrientablePrimitive
getOrientation, getPrimitive
 
Methods inherited from interface Primitive
getComplexes, getContainedPrimitives, getContainingPrimitives, getProxy
 
Methods inherited from interface Geometry
clone, getBuffer, getCentroid, getClosure, getConvexHull, getCoordinateDimension, getCoordinateReferenceSystem, getDimension, getDistance, getEnvelope, getMaximalComplex, getMbRegion, getRepresentativePoint, isCycle, isMutable, isSimple, toImmutable, transform, transform
 
Methods inherited from interface TransfiniteSet
contains, contains, difference, equals, intersection, intersects, symmetricDifference, union
 

Method Detail

getBoundary

@UML(identifier="boundary",
     obligation=MANDATORY,
     specification=ISO_19107)
CurveBoundary getBoundary()
Returns an ordered pair of points, which are the start point and end point of the curve. If the curve is closed, then the boundary shall be empty.

Specified by:
getBoundary in interface Geometry
Specified by:
getBoundary in interface Primitive
Returns:
The sets of positions on the boundary.
See Also:
Geometry.getMbRegion(), Geometry.getClosure(), Geometry.getBuffer(double), Geometry.getDistance(org.opengis.spatialschema.geometry.Geometry)

getComposite

@UML(identifier="composite",
     obligation=MANDATORY,
     specification=ISO_19107)
CompositeCurve getComposite()
Returns the owner of this orientable curve, or null if none.

Returns:
The owner of this orientable curve, or null if none.

REVISIT OPEN ISSUE (a GeoAPI comment)
I'm not sure to interpret correctly the ISO specification. Sound like ISO returns an array (or a sequence) here.

GeoAPI 2.0
Build 2005-06-08

Symbols, terms and definitions
Copyright OpenGIS® Consortium