GeoAPI 2.0
Build 2005-06-08

org.opengis.spatialschema.geometry.geometry
Class KnotType

Object
  extended by CodeList<KnotType>
      extended by KnotType
All Implemented Interfaces:
Serializable, Comparable<KnotType>

@UML(identifier="GM_KnotType",
     specification=ISO_19107)
public class KnotType
extends CodeList<KnotType>

The type of a B-spline. A B-spline is uniform if and only if all knots are of multiplicity 1 and they differ by a positive constant from the preceding knot. A B-spline is quasi-uniform if and only if the knots are of multiplicity (degree+1) at the ends, of multiplicity 1 elsewhere, and they differ by a positive constant from the preceding knot. This code list is used to describe the distribution of knots in the parameter space of various splines.

Since:
GeoAPI 2.0
Version:
Abstract specification 5
See Also:
Serialized Form

Field Summary
static KnotType PIECEWISE_BEZIER
          The form of knots is appropriate for a piecewise Bezier curve.
static KnotType QUASI_UNIFORM
          The form of knots is appropriate for a quasi-uniform B-spline.
static KnotType UNIFORM
          The form of knots is appropriate for a uniform B-spline.
 
Constructor Summary
KnotType(String name)
          Constructs an enum with the given name.
 
Method Summary
 KnotType[] family()
          Returns the list of enumerations of the same kind than this enum.
static KnotType[] values()
          Returns the list of KnotTypes.
 
Methods inherited from class CodeList
compareTo, name, ordinal, readResolve, toString
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

UNIFORM

public static final KnotType UNIFORM
The form of knots is appropriate for a uniform B-spline.


QUASI_UNIFORM

public static final KnotType QUASI_UNIFORM
The form of knots is appropriate for a quasi-uniform B-spline.


PIECEWISE_BEZIER

public static final KnotType PIECEWISE_BEZIER
The form of knots is appropriate for a piecewise Bezier curve.

Constructor Detail

KnotType

public KnotType(String name)
Constructs an enum with the given name. The new enum is automatically added to the list returned by values().

Parameters:
name - The enum name. This name must not be in use by an other enum of this type.
Method Detail

values

public static KnotType[] values()
Returns the list of KnotTypes.


family

public KnotType[] family()
Returns the list of enumerations of the same kind than this enum.

Specified by:
family in class CodeList<KnotType>

GeoAPI 2.0
Build 2005-06-08

Symbols, terms and definitions
Copyright OpenGIS® Consortium