org.opengis.geometry.coordinate
Class SplineCurveForm

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

@UML(identifier="GM_SplineCurveForm",
     specification=ISO_19107)
public final class SplineCurveForm
extends CodeList<SplineCurveForm>

Indicates which sort of curve may be approximated by a particular B-spline.

Since:
GeoAPI 2.0
Author:
Martin Desruisseaux (IRD)
See Also:
Serialized Form

Field Summary
static SplineCurveForm CIRCULAR_ARC
          An arc of a circle or a complete circle.
static SplineCurveForm ELLIPTICAL_ARC
          An arc of an ellipse or a complete ellipse.
static SplineCurveForm HYPERBOLIC_ARC
          An arc of a finite length of one branch of a hyperbola.
static SplineCurveForm PARABOLIC_ARC
          An arc of a finite length of a parabola.
static SplineCurveForm POLYLINE_FORM
          A connected sequence of line segments represented by a 1 degree B-spline (a line string).
 
Method Summary
 SplineCurveForm[] family()
          Returns the list of enumerations of the same kind than this enum.
static SplineCurveForm valueOf(String code)
          Returns the spline curve form that matches the given string, or returns a new one if none match it.
static SplineCurveForm[] values()
          Returns the list of SplineCurveForms.
 
Methods inherited from class CodeList
compareTo, equals, identifier, matches, name, ordinal, readResolve, toString, valueOf
 
Methods inherited from class Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

POLYLINE_FORM

@UML(identifier="polylineForm",
     obligation=CONDITIONAL,
     specification=ISO_19107)
public static final SplineCurveForm POLYLINE_FORM
A connected sequence of line segments represented by a 1 degree B-spline (a line string).


CIRCULAR_ARC

@UML(identifier="circularArc",
     obligation=CONDITIONAL,
     specification=ISO_19107)
public static final SplineCurveForm CIRCULAR_ARC
An arc of a circle or a complete circle.


ELLIPTICAL_ARC

@UML(identifier="ellipticalArc",
     obligation=CONDITIONAL,
     specification=ISO_19107)
public static final SplineCurveForm ELLIPTICAL_ARC
An arc of an ellipse or a complete ellipse.


PARABOLIC_ARC

@UML(identifier="parabolicArc",
     obligation=CONDITIONAL,
     specification=ISO_19107)
public static final SplineCurveForm PARABOLIC_ARC
An arc of a finite length of a parabola.


HYPERBOLIC_ARC

@UML(identifier="hyperbolicArc",
     obligation=CONDITIONAL,
     specification=ISO_19107)
public static final SplineCurveForm HYPERBOLIC_ARC
An arc of a finite length of one branch of a hyperbola.

Method Detail

values

public static SplineCurveForm[] values()
Returns the list of SplineCurveForms.

Returns:
The list of codes declared in the current JVM.

family

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

Specified by:
family in class CodeList<SplineCurveForm>
Returns:
The codes of the same kind than this code.

valueOf

public static SplineCurveForm valueOf(String code)
Returns the spline curve form that matches the given string, or returns a new one if none match it.

Parameters:
code - The name of the code to fetch or to create.
Returns:
A code matching the given name.


Copyright © 1996-2014 Geotools. All Rights Reserved.