/* * Geotoolkit - An Open Source Java GIS Toolkit * http://www.geotoolkit.org * * (C) 2008 - 2009, Geomatys * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. */ package org.geotoolkit.gml.xml.v311; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlType; /** * Bezier curves are polynomial splines that use Bezier or Bernstein polynomials for interpolation purposes. It is a special case of the B-Spline curve with two knots. * * <p>Java class for BezierType complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="BezierType"> * <complexContent> * <restriction base="{http://www.opengis.net/gml}BSplineType"> * <sequence> * <choice> * <choice maxOccurs="unbounded" minOccurs="0"> * <element ref="{http://www.opengis.net/gml}pos"/> * <element ref="{http://www.opengis.net/gml}pointProperty"/> * <element ref="{http://www.opengis.net/gml}pointRep"/> * </choice> * <element ref="{http://www.opengis.net/gml}posList"/> * <element ref="{http://www.opengis.net/gml}coordinates"/> * </choice> * <element name="degree" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger"/> * <element name="knot" type="{http://www.opengis.net/gml}KnotPropertyType" maxOccurs="2" minOccurs="2"/> * </sequence> * <attribute name="interpolation" type="{http://www.opengis.net/gml}CurveInterpolationType" fixed="polynomialSpline" /> * <attribute name="isPolynomial" type="{http://www.w3.org/2001/XMLSchema}boolean" fixed="true" /> * </restriction> * </complexContent> * </complexType> * </pre> * * * @module */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "BezierType") public class BezierType extends BSplineType { }