/*$************************************************************************************************
**
** $Id: OrientableCurve.java 831 2006-05-01 00:27:23Z Desruisseaux $
**
** $URL: http://svn.code.sf.net/p/geoapi/code/branches/2.0.x/geoapi/src/main/java/org/opengis/spatialschema/geometry/primitive/OrientableCurve.java $
**
** Copyright (C) 2003-2005 Open GIS Consortium, Inc.
** All Rights Reserved. http://www.opengis.org/legal/
**
*************************************************************************************************/
package org.opengis.spatialschema.geometry.primitive;
// OpenGIS direct dependencies
import org.opengis.spatialschema.geometry.complex.CompositeCurve;
// Annotations
import org.opengis.annotation.UML;
import static org.opengis.annotation.Obligation.*;
import static org.opengis.annotation.Specification.*;
/**
* A curve and an orientation inherited from {@link OrientablePrimitive}. If the orientation is
* positive, then the {@code OrientableCurve} is a {@linkplain Curve curve}. If the orientation
* is negative, then the {@code OrientableCurve} is related to another {@linkplain Curve curve}
* with a parameterization that reverses the sense of the curve traversal.
*
* @version Abstract specification 5
* @author Martin Desruisseaux (IRD)
* @since GeoAPI 1.0
*/
@UML(identifier="GM_OrientableCurve", specification=ISO_19107)
public interface OrientableCurve extends OrientablePrimitive {
/**
* 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.
*
* @return The sets of positions on the boundary.
*/
/// @UML(identifier="boundary", obligation=MANDATORY, specification=ISO_19107)
/// public CurveBoundary getBoundary();
/**
* Returns the owner of this orientable curve, or {@code null} if none.
*
* @return The owner of this orientable curve, or {@code null} if none.
*
* @todo I'm not sure to interpret correctly the ISO specification.
* Sound like ISO returns an array (or a sequence) here.
*/
@UML(identifier="composite", obligation=OPTIONAL, specification=ISO_19107)
public CompositeCurve getComposite();
}
Ads help maintain this website.