org.opengis.geometry.coordinate.SplineCurve Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gt-opengis Show documentation
Show all versions of gt-opengis Show documentation
Standard interfaces implemented throughout the library.
/*
* GeoTools - The Open Source Java GIS Toolkit
* http://geotools.org
*
* (C) 2011, Open Source Geospatial Foundation (OSGeo)
* (C) 2003-2005, Open Geospatial Consortium Inc.
*
* All Rights Reserved. http://www.opengis.org/legal/
*/
package org.opengis.geometry.coordinate;
import static org.opengis.annotation.Obligation.*;
import static org.opengis.annotation.Specification.*;
import java.util.List;
import org.opengis.annotation.UML;
import org.opengis.geometry.primitive.CurveSegment;
/**
* Root for subtypes of {@linkplain CurveSegment curve segment} using some version of spline, either
* polynomial or rational functions.
*
* @version ISO 19107
* @author Martin Desruisseaux (IRD)
* @since GeoAPI 2.0
*/
@UML(identifier = "GM_SplineCurve", specification = ISO_19107)
public interface SplineCurve extends CurveSegment {
/**
* The sequence of distinct knots used to define the spline basis functions. Recall that the
* knot data type holds information on knot multiplicity.
*/
@UML(identifier = "knot", obligation = MANDATORY, specification = ISO_19107)
List getKnots();
/**
* The degree of the polynomial used for interpolation in a {@linkplain PolynomialSpline
* polynomial spline}.
*/
@UML(identifier = "degree", obligation = MANDATORY, specification = ISO_19107)
int getDegree();
/** An array of points that are used in the interpolation in this spline curve. */
@UML(identifier = "controlPoints", obligation = MANDATORY, specification = ISO_19107)
PointArray getControlPoints();
}