Package org.opengis.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 fromOrientablePrimitive
. If the orientation is positive, then theOrientableCurve
is a curve. If the orientation is negative, then theOrientableCurve
is related to another curve with a parameterization that reverses the sense of the curve traversal.- Since:
- GeoAPI 1.0
- Author:
- Martin Desruisseaux (IRD)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.Curve
getPrimitive()
Returns the primitive associated with thisOrientableCurve
.-
Methods inherited from interface 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 OrientablePrimitive
getOrientation
-
Methods inherited from interface Primitive
getComplexes, getContainedPrimitives, getContainingPrimitives, getProxy
-
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 interfaceGeometry
- Specified by:
getBoundary
in interfacePrimitive
- Returns:
- The sets of positions on the boundary.
- See Also:
Geometry.getMbRegion()
,Geometry.getClosure()
,Geometry.getBuffer(double)
,#getDistance
-
getPrimitive
@Association("Oriented") @UML(identifier="primitive", obligation=OPTIONAL, specification=ISO_19107) Curve getPrimitive()
Returns the primitive associated with thisOrientableCurve
.- Specified by:
getPrimitive
in interfaceOrientablePrimitive
- Returns:
- The primitive, or
null
if the association is not available or not implemented that way. - See Also:
Curve.getProxy()
-
getComposite
@Association("Composition") @UML(identifier="composite", obligation=OPTIONAL, specification=ISO_19107) CompositeCurve getComposite()
Returns the owner of this orientable curve. This method is optional since the association in ISO 19107 is navigable only fromCompositeCurve
toOrientableCurve
, not the other way.- Specified by:
getComposite
in interfacePrimitive
- Returns:
- The owner of this orientable curve, or
null
if the association is not available or not implemented that way. - See Also:
CompositeCurve.getGenerators()
-
-