Package org.opengis.cite.geomatics.gml
Enum Class SurfacePatchType
- All Implemented Interfaces:
Serializable,Comparable<SurfacePatchType>,Constable
Surface patch type. A surface is composed of one or more homogeneous, connected
patches. Adjacent patches are connected along shared edges.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionabstract org.geotoolkit.gml.xml.v321.AbstractRingTypegetExteriorBoundary(org.geotoolkit.gml.xml.v321.AbstractSurfacePatchType patch) Returns the exterior boundary of a surface patch (an element that substitutes for gml:AbstractSurfacePatch).abstract Set<org.geotoolkit.gml.xml.v321.AbstractRingType>getInteriorBoundaries(org.geotoolkit.gml.xml.v321.AbstractSurfacePatchType patch) Returns the set of interior boundaries for a surface patch (an element that substitutes for gml:AbstractSurfacePatch).static SurfacePatchTypeReturns the enum constant of this class with the specified name.static SurfacePatchType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
POLYGON
gml:PolygonPatch -
RECTANGLE
gml:Rectangle -
TRIANGLE
gml:Triangle
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getExteriorBoundary
public abstract org.geotoolkit.gml.xml.v321.AbstractRingType getExteriorBoundary(org.geotoolkit.gml.xml.v321.AbstractSurfacePatchType patch) Returns the exterior boundary of a surface patch (an element that substitutes for gml:AbstractSurfacePatch).- Parameters:
patch- A GML surface patch.- Returns:
- A closed curve (LinearRing or Ring) that delimits the exterior of the given surface patch.
-
getInteriorBoundaries
public abstract Set<org.geotoolkit.gml.xml.v321.AbstractRingType> getInteriorBoundaries(org.geotoolkit.gml.xml.v321.AbstractSurfacePatchType patch) Returns the set of interior boundaries for a surface patch (an element that substitutes for gml:AbstractSurfacePatch).- Parameters:
patch- A GML surface patch.- Returns:
- A set containing closed curves that delimit the interior of the given surface patch; the set may be empty.
-