/*$************************************************************************************************
**
** $Id: CurveBoundary.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/CurveBoundary.java $
**
** Copyright (C) 2003-2005 Open GIS Consortium, Inc.
** All Rights Reserved. http://www.opengis.org/legal/
**
*************************************************************************************************/
package org.opengis.spatialschema.geometry.primitive;
// Annotations
import org.opengis.annotation.UML;
import static org.opengis.annotation.Obligation.*;
import static org.opengis.annotation.Specification.*;
/**
* The boundary of {@linkplain Curve curves}.
* A {@code CurveBoundary} contains two {@linkplain Point point} references
* ({@linkplain #getStartPoint start point} and {@linkplain #getEndPoint end point}).
*
* @version Abstract specification 5
* @author Martin Desruisseaux (IRD)
* @since GeoAPI 1.0
*/
@UML(identifier="GM_CurveBoundary", specification=ISO_19107)
public interface CurveBoundary extends PrimitiveBoundary {
/**
* Returns the start point.
*
* @see #getEndPoint
*/
@UML(identifier="startPoint", obligation=MANDATORY, specification=ISO_19107)
public Point getStartPoint();
/**
* Returns the end point.
*
* @see #getStartPoint
*/
@UML(identifier="endPoint", obligation=MANDATORY, specification=ISO_19107)
public Point getEndPoint();
}
Ads help maintain this website.