Class BSplineType
- java.lang.Object
-
- nl.b3p.csw.jaxb.gml.AbstractCurveSegmentType
-
- nl.b3p.csw.jaxb.gml.BSplineType
-
- Direct Known Subclasses:
BezierType
public class BSplineType extends AbstractCurveSegmentType
A B-Spline is a piecewise parametric polynomial or rational curve described in terms of control points and basis functions. Knots are breakpoints on the curve that connect its pieces. They are given as a non-decreasing sequence of real numbers. If the weights in the knots are equal then it is a polynomial spline. The degree is the algebraic degree of the basis functions.Java class for BSplineType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="BSplineType"> <complexContent> <extension base="{http://www.opengis.net/gml}AbstractCurveSegmentType"> <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="unbounded" minOccurs="2"/> </sequence> <attribute name="interpolation" type="{http://www.opengis.net/gml}CurveInterpolationType" default="polynomialSpline" /> <attribute name="isPolynomial" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="knotType" type="{http://www.opengis.net/gml}KnotTypesType" /> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected Coordinatescoordinatesprotected BigIntegerdegreeprotected CurveInterpolationTypeinterpolationprotected BooleanisPolynomialprotected List<KnotPropertyType>knotprotected KnotTypesTypeknotTypeprotected PosListposListprotected List<javax.xml.bind.JAXBElement<?>>posOrPointPropertyOrPointRep-
Fields inherited from class nl.b3p.csw.jaxb.gml.AbstractCurveSegmentType
numDerivativeInterior, numDerivativesAtEnd, numDerivativesAtStart
-
-
Constructor Summary
Constructors Constructor Description BSplineType()Default no-arg constructorBSplineType(BigInteger numDerivativesAtStart, BigInteger numDerivativesAtEnd, BigInteger numDerivativeInterior, List<javax.xml.bind.JAXBElement<?>> posOrPointPropertyOrPointRep, PosList posList, Coordinates coordinates, BigInteger degree, List<KnotPropertyType> knot, CurveInterpolationType interpolation, Boolean isPolynomial, KnotTypesType knotType)Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CoordinatesgetCoordinates()Deprecated with GML version 3.1.0.BigIntegergetDegree()Gets the value of the degree property.CurveInterpolationTypegetInterpolation()Gets the value of the interpolation property.List<KnotPropertyType>getKnot()Gets the value of the knot property.KnotTypesTypegetKnotType()Gets the value of the knotType property.PosListgetPosList()Gets the value of the posList property.List<javax.xml.bind.JAXBElement<?>>getPosOrPointPropertyOrPointRep()Gets the value of the posOrPointPropertyOrPointRep property.BooleanisIsPolynomial()Gets the value of the isPolynomial property.voidsetCoordinates(Coordinates value)Sets the value of the coordinates property.voidsetDegree(BigInteger value)Sets the value of the degree property.voidsetInterpolation(CurveInterpolationType value)Sets the value of the interpolation property.voidsetIsPolynomial(Boolean value)Sets the value of the isPolynomial property.voidsetKnotType(KnotTypesType value)Sets the value of the knotType property.voidsetPosList(PosList value)Sets the value of the posList property.-
Methods inherited from class nl.b3p.csw.jaxb.gml.AbstractCurveSegmentType
getNumDerivativeInterior, getNumDerivativesAtEnd, getNumDerivativesAtStart, setNumDerivativeInterior, setNumDerivativesAtEnd, setNumDerivativesAtStart
-
-
-
-
Field Detail
-
posOrPointPropertyOrPointRep
protected List<javax.xml.bind.JAXBElement<?>> posOrPointPropertyOrPointRep
-
posList
protected PosList posList
-
coordinates
protected Coordinates coordinates
-
degree
protected BigInteger degree
-
knot
protected List<KnotPropertyType> knot
-
interpolation
protected CurveInterpolationType interpolation
-
isPolynomial
protected Boolean isPolynomial
-
knotType
protected KnotTypesType knotType
-
-
Constructor Detail
-
BSplineType
public BSplineType()
Default no-arg constructor
-
BSplineType
public BSplineType(BigInteger numDerivativesAtStart, BigInteger numDerivativesAtEnd, BigInteger numDerivativeInterior, List<javax.xml.bind.JAXBElement<?>> posOrPointPropertyOrPointRep, PosList posList, Coordinates coordinates, BigInteger degree, List<KnotPropertyType> knot, CurveInterpolationType interpolation, Boolean isPolynomial, KnotTypesType knotType)
Fully-initialising value constructor
-
-
Method Detail
-
getPosOrPointPropertyOrPointRep
public List<javax.xml.bind.JAXBElement<?>> getPosOrPointPropertyOrPointRep()
Gets the value of the posOrPointPropertyOrPointRep property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the posOrPointPropertyOrPointRep property.For example, to add a new item, do as follows:
getPosOrPointPropertyOrPointRep().add(newItem);Objects of the following type(s) are allowed in the list
PosPointRepPointProperty
-
getPosList
public PosList getPosList()
Gets the value of the posList property.- Returns:
- possible object is
PosList
-
setPosList
public void setPosList(PosList value)
Sets the value of the posList property.- Parameters:
value- allowed object isPosList
-
getCoordinates
public Coordinates getCoordinates()
Deprecated with GML version 3.1.0. Use "posList" instead.- Returns:
- possible object is
Coordinates
-
setCoordinates
public void setCoordinates(Coordinates value)
Sets the value of the coordinates property.- Parameters:
value- allowed object isCoordinates
-
getDegree
public BigInteger getDegree()
Gets the value of the degree property.- Returns:
- possible object is
BigInteger
-
setDegree
public void setDegree(BigInteger value)
Sets the value of the degree property.- Parameters:
value- allowed object isBigInteger
-
getKnot
public List<KnotPropertyType> getKnot()
Gets the value of the knot property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the knot property.For example, to add a new item, do as follows:
getKnot().add(newItem);Objects of the following type(s) are allowed in the list
KnotPropertyType
-
getInterpolation
public CurveInterpolationType getInterpolation()
Gets the value of the interpolation property.- Returns:
- possible object is
CurveInterpolationType
-
setInterpolation
public void setInterpolation(CurveInterpolationType value)
Sets the value of the interpolation property.- Parameters:
value- allowed object isCurveInterpolationType
-
isIsPolynomial
public Boolean isIsPolynomial()
Gets the value of the isPolynomial property.- Returns:
- possible object is
Boolean
-
setIsPolynomial
public void setIsPolynomial(Boolean value)
Sets the value of the isPolynomial property.- Parameters:
value- allowed object isBoolean
-
getKnotType
public KnotTypesType getKnotType()
Gets the value of the knotType property.- Returns:
- possible object is
KnotTypesType
-
setKnotType
public void setKnotType(KnotTypesType value)
Sets the value of the knotType property.- Parameters:
value- allowed object isKnotTypesType
-
-