/*$************************************************************************************************
**
** $Id: OrientableSurface.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/OrientableSurface.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.CompositeSurface;
// Annotations
import org.opengis.annotation.UML;
import static org.opengis.annotation.Obligation.*;
import static org.opengis.annotation.Specification.*;
/**
* A surface and an orientation inherited from {@link OrientablePrimitive}. If the orientation is
* positive, then the {@code OrientableSurface} is a {@linkplain Surface surface}. If the
* orientation is negative, then the {@code OrientableSurface} is a reference to a
* {@linkplain Surface surface} with an upNormal that reverses the direction for this
* {@code OrientableSurface}, the sense of "the top of the surface".
*
* @version Abstract specification 5
* @author Martin Desruisseaux (IRD)
* @since GeoAPI 1.0
*/
@UML(identifier="GM_OrientableSurface", specification=ISO_19107)
public interface OrientableSurface extends OrientablePrimitive {
/**
* Returns the set of circular sequences of {@linkplain OrientableCurve orientable curve} that
* limit the extent of this {@code OrientableSurface}. These curves shall be organized
* into one circular sequence of curves for each boundary component of the
* {@code OrientableSurface}. In cases where "exterior" boundary is not
* well defined, all the rings of the {@linkplain SurfaceBoundary surface boundary}
* shall be listed as "interior".
*
*
* NOTE: The concept of exterior boundary for a surface is really only
* valid in a 2-dimensional plane. A bounded cylinder has two boundary components, neither
* of which can logically be classified as its exterior. Thus, in 3 dimensions, there is no
* valid definition of exterior that covers all cases.
*
*
* @return The sets of positions on the boundary.
*/
/// @UML(identifier="boundary", obligation=MANDATORY, specification=ISO_19107)
/// public SurfaceBoundary getBoundary();
/**
* Returns the owner of this orientable surface, or {@code null} if none.
*
* @return The owner of this orientable surface, 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 CompositeSurface getComposite();
}
Ads help maintain this website.