Class SplineCurveForm

  • All Implemented Interfaces:
    Serializable, Comparable<SplineCurveForm>, ControlledVocabulary

    @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
    See Also:
    Serialized Form
    • 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 codes of the same kind than this code list element. Invoking this method is equivalent to invoking values(), except that this method can be invoked on an instance of the parent CodeList class.
        Specified by:
        family in interface ControlledVocabulary
        Specified by:
        family in class CodeList<SplineCurveForm>
        Returns:
        all code values for this code list.
      • 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. More specifically, this methods returns the first instance for which name().equals(code) returns true. If no existing instance is found, then a new one is created for the given name.
        Parameters:
        code - the name of the code to fetch or to create.
        Returns:
        a code matching the given name.