org.citygml4j.jaxb.gml._3_1_1
Class BSplineType

java.lang.Object
  extended by org.citygml4j.jaxb.gml._3_1_1.AbstractCurveSegmentType
      extended by org.citygml4j.jaxb.gml._3_1_1.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>
 


Constructor Summary
BSplineType()
           
 
Method Summary
 CoordinatesType getCoordinates()
          Deprecated with GML version 3.1.0.
 java.math.BigInteger getDegree()
          Gets the value of the degree property.
 CurveInterpolationType getInterpolation()
          Gets the value of the interpolation property.
 java.util.List<KnotPropertyType> getKnot()
          Gets the value of the knot property.
 KnotTypesType getKnotType()
          Gets the value of the knotType property.
 DirectPositionListType getPosList()
          Gets the value of the posList property.
 java.util.List<javax.xml.bind.JAXBElement<?>> getPosOrPointPropertyOrPointRep()
          Gets the value of the posOrPointPropertyOrPointRep property.
 boolean isIsPolynomial()
          Gets the value of the isPolynomial property.
 boolean isSetCoordinates()
           
 boolean isSetDegree()
           
 boolean isSetInterpolation()
           
 boolean isSetIsPolynomial()
           
 boolean isSetKnot()
           
 boolean isSetKnotType()
           
 boolean isSetPosList()
           
 boolean isSetPosOrPointPropertyOrPointRep()
           
 void setCoordinates(CoordinatesType value)
          Sets the value of the coordinates property.
 void setDegree(java.math.BigInteger value)
          Sets the value of the degree property.
 void setInterpolation(CurveInterpolationType value)
          Sets the value of the interpolation property.
 void setIsPolynomial(boolean value)
          Sets the value of the isPolynomial property.
 void setKnot(java.util.List<KnotPropertyType> knot)
          Sets the value of the knot property.
 void setKnotType(KnotTypesType value)
          Sets the value of the knotType property.
 void setPosList(DirectPositionListType value)
          Sets the value of the posList property.
 void setPosOrPointPropertyOrPointRep(java.util.List<javax.xml.bind.JAXBElement<?>> posOrPointPropertyOrPointRep)
          Sets the value of the posOrPointPropertyOrPointRep property.
 void unsetIsPolynomial()
           
 void unsetKnot()
           
 void unsetPosOrPointPropertyOrPointRep()
           
 
Methods inherited from class org.citygml4j.jaxb.gml._3_1_1.AbstractCurveSegmentType
getNumDerivativeInterior, getNumDerivativesAtEnd, getNumDerivativesAtStart, isSetNumDerivativeInterior, isSetNumDerivativesAtEnd, isSetNumDerivativesAtStart, setNumDerivativeInterior, setNumDerivativesAtEnd, setNumDerivativesAtStart
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BSplineType

public BSplineType()
Method Detail

getPosOrPointPropertyOrPointRep

public java.util.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 set method 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 JAXBElement<PointPropertyType> JAXBElement<PointPropertyType> JAXBElement<DirectPositionType>


isSetPosOrPointPropertyOrPointRep

public boolean isSetPosOrPointPropertyOrPointRep()

unsetPosOrPointPropertyOrPointRep

public void unsetPosOrPointPropertyOrPointRep()

getPosList

public DirectPositionListType getPosList()
Gets the value of the posList property.

Returns:
possible object is DirectPositionListType

setPosList

public void setPosList(DirectPositionListType value)
Sets the value of the posList property.

Parameters:
value - allowed object is DirectPositionListType

isSetPosList

public boolean isSetPosList()

getCoordinates

public CoordinatesType getCoordinates()
Deprecated with GML version 3.1.0. Use "posList" instead.

Returns:
possible object is CoordinatesType

setCoordinates

public void setCoordinates(CoordinatesType value)
Sets the value of the coordinates property.

Parameters:
value - allowed object is CoordinatesType

isSetCoordinates

public boolean isSetCoordinates()

getDegree

public java.math.BigInteger getDegree()
Gets the value of the degree property.

Returns:
possible object is BigInteger

setDegree

public void setDegree(java.math.BigInteger value)
Sets the value of the degree property.

Parameters:
value - allowed object is BigInteger

isSetDegree

public boolean isSetDegree()

getKnot

public java.util.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 set method 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


isSetKnot

public boolean isSetKnot()

unsetKnot

public void unsetKnot()

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 is CurveInterpolationType

isSetInterpolation

public boolean isSetInterpolation()

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 is Boolean

isSetIsPolynomial

public boolean isSetIsPolynomial()

unsetIsPolynomial

public void unsetIsPolynomial()

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 is KnotTypesType

isSetKnotType

public boolean isSetKnotType()

setPosOrPointPropertyOrPointRep

public void setPosOrPointPropertyOrPointRep(java.util.List<javax.xml.bind.JAXBElement<?>> posOrPointPropertyOrPointRep)
Sets the value of the posOrPointPropertyOrPointRep property.

Parameters:
posOrPointPropertyOrPointRep - allowed object is JAXBElement<PointPropertyType> JAXBElement<PointPropertyType> JAXBElement<DirectPositionType>

setKnot

public void setKnot(java.util.List<KnotPropertyType> knot)
Sets the value of the knot property.

Parameters:
knot - allowed object is KnotPropertyType