Package com.luciad.format.gml32.model
Class TLcdGML32BSpline
java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.format.gml32.model.TLcdGML32AbstractCurveSegment
com.luciad.format.gml32.model.TLcdGML32BSpline
- All Implemented Interfaces:
ILcdDataObject
,ILcdBounded
,ILcdCurve
,ILcdShape
,ILcdCloneable
,ILcdDeepCloneable
,Serializable
,Cloneable
- Direct Known Subclasses:
TLcdGML32Bezier
A B-Spline is a piecewise parametric polynomial or rational curve described in terms of control points and basis functions as specified in ISO 19107:2003, 6.4.30. Therefore, interpolation may be either "polynomialSpline" or "rationalSpline" depending on the interpolation type; default is "polynomialSpline".
degree shall be the degree of the polynomial used for interpolation in this spline.
knot shall be the sequence of distinct knots used to define the spline basis functions (see ISO 19107:2003, 6.4.26.2).
The attribute isPolynomial shall be set to "true" if this is a polynomial spline (see ISO 19107:2003, 6.4.30.5).
The attribute knotType shall provide the type of knot distribution used in defining this spline (see ISO 19107:2003, 6.4.30.4).
The content model follows the general pattern for the encoding of curve segments.
- Since:
- 10.0
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TLcdDataProperty
Data property that maps to thedegree
element.static final TLcdDataProperty
Data property that maps to theinterpolation
attribute.static final TLcdDataProperty
Data property that maps to theisPolynomial
attribute.static final TLcdDataProperty
Data property that maps to theknot
element.static final TLcdDataProperty
Data property that maps to theknotType
attribute.static final TLcdDataProperty
Data property that maps to thenumDerivativeInterior
attribute.static final TLcdDataProperty
Data property that maps to thenumDerivativesAtEnd
attribute.static final TLcdDataProperty
Data property that maps to thenumDerivativesAtStart
attribute.static final TLcdDataProperty
Data property that maps to the choice between thepos
andpointProperty
andpointRep
andposList
andcoordinates
elements.Fields inherited from interface com.luciad.shape.ILcdCurve
INTERPOLATION_CIRCLE_BY_3POINTS, INTERPOLATION_CIRCLE_BY_CENTERPOINT, INTERPOLATION_CIRCULARARC_BY_3POINTS, INTERPOLATION_CIRCULARARC_BY_BULGE, INTERPOLATION_CIRCULARARC_BY_CENTERPOINT, INTERPOLATION_ELLIPTICAL, INTERPOLATION_GEODESIC, INTERPOLATION_LINEAR, INTERPOLATION_MIXED, INTERPOLATION_RHUMB
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the value of the property that maps to thedegree
element.Returns the value of the property that maps to theinterpolation
attribute.Returns the value of the property that maps to theisPolynomial
attribute.getKnot()
Gets the value of theKNOT_PROPERTY
property adapted to a list ofTLcdGML32Knot
instances.Returns the value of the property that maps to theknotType
attribute.long
Returns the value of the property that maps to thenumDerivativeInterior
attribute.long
Returns the value of the property that maps to thenumDerivativesAtEnd
attribute.long
Returns the value of the property that maps to thenumDerivativesAtStart
attribute.Returns the value of the property that maps to the choice between thepos
andpointProperty
andpointRep
andposList
andcoordinates
elements.void
setDegree
(long aValue) Sets the value of the property that maps to thedegree
element.void
Sets the value of the property that maps to theinterpolation
attribute.void
setIsPolynomial
(Boolean aValue) Sets the value of the property that maps to theisPolynomial
attribute.void
setKnotType
(ELcdGML32KnotTypes aValue) Sets the value of the property that maps to theknotType
attribute.void
setNumDerivativeInterior
(long aValue) Sets the value of the property that maps to thenumDerivativeInterior
attribute.void
setNumDerivativesAtEnd
(long aValue) Sets the value of the property that maps to thenumDerivativesAtEnd
attribute.void
setNumDerivativesAtStart
(long aValue) Sets the value of the property that maps to thenumDerivativesAtStart
attribute.void
setPosGroup
(Object aValue) Sets the value of the property that maps to the choice between thepos
andpointProperty
andpointRep
andposList
andcoordinates
elements.Methods inherited from class com.luciad.format.gml32.model.TLcdGML32AbstractCurveSegment
computePointSFCT, contains2D, contains2D, contains3D, contains3D, getBounds, getEndPoint, getEndTangent2D, getFocusPoint, getInterpolation, getLength2D, getLineSegmentIntersectionCount, getStartPoint, getStartTangent2D, getTangent2D
Methods inherited from class com.luciad.datamodel.TLcdDataObject
clone, clone, getDataType, getValue, getValue, hasValue, hasValue, setValue, setValue, toString
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.luciad.util.ILcdCloneable
clone
-
Field Details
-
INTERPOLATION_ATTR_PROPERTY
Data property that maps to theinterpolation
attribute. The possible values for this property are instances ofELcdGML32CurveInterpolation
. -
IS_POLYNOMIAL_PROPERTY
Data property that maps to theisPolynomial
attribute. The possible values for this property are instances ofBoolean
. -
KNOT_TYPE_PROPERTY
Data property that maps to theknotType
attribute. The possible values for this property are instances ofELcdGML32KnotTypes
. -
POS_GROUP_PROPERTY
Data property that maps to the choice between thepos
andpointProperty
andpointRep
andposList
andcoordinates
elements. The possible values for this property are instances ofList<TLcdGML32DirectPosition>
List<TLcdGML32PointProperty>
List<TLcdGML32PointProperty>
TLcdGML32DirectPositionList
TLcdGML32Coordinates
-
DEGREE_PROPERTY
Data property that maps to thedegree
element. The possible values for this property are instances oflong
. -
KNOT_PROPERTY
Data property that maps to theknot
element. The possible values for this property are instances ofList<TLcdGML32KnotProperty>
. -
NUM_DERIVATIVE_INTERIOR_PROPERTY
Data property that maps to thenumDerivativeInterior
attribute. The possible values for this property are instances oflong
. -
NUM_DERIVATIVES_AT_END_PROPERTY
Data property that maps to thenumDerivativesAtEnd
attribute. The possible values for this property are instances oflong
. -
NUM_DERIVATIVES_AT_START_PROPERTY
Data property that maps to thenumDerivativesAtStart
attribute. The possible values for this property are instances oflong
.
-
-
Constructor Details
-
TLcdGML32BSpline
public TLcdGML32BSpline() -
TLcdGML32BSpline
-
-
Method Details
-
getInterpolationAttr
Returns the value of the property that maps to theinterpolation
attribute.- Returns:
- the value of the
INTERPOLATION_ATTR_PROPERTY
property.
-
setInterpolationAttr
Sets the value of the property that maps to theinterpolation
attribute.- Parameters:
aValue
- the value to set for theINTERPOLATION_ATTR_PROPERTY
property.
-
getIsPolynomial
Returns the value of the property that maps to theisPolynomial
attribute.- Returns:
- the value of the
IS_POLYNOMIAL_PROPERTY
property.
-
setIsPolynomial
Sets the value of the property that maps to theisPolynomial
attribute.- Parameters:
aValue
- the value to set for theIS_POLYNOMIAL_PROPERTY
property.
-
getKnotType
Returns the value of the property that maps to theknotType
attribute.- Returns:
- the value of the
KNOT_TYPE_PROPERTY
property.
-
setKnotType
Sets the value of the property that maps to theknotType
attribute.- Parameters:
aValue
- the value to set for theKNOT_TYPE_PROPERTY
property.
-
getPosGroup
Returns the value of the property that maps to the choice between thepos
andpointProperty
andpointRep
andposList
andcoordinates
elements.The possible values for this property are instances of
List<TLcdGML32DirectPosition>
List<TLcdGML32PointProperty>
List<TLcdGML32PointProperty>
TLcdGML32DirectPositionList
TLcdGML32Coordinates
- Returns:
- the value of the
POS_GROUP_PROPERTY
property.
-
setPosGroup
Sets the value of the property that maps to the choice between thepos
andpointProperty
andpointRep
andposList
andcoordinates
elements.The possible values for this property are instances of
List<TLcdGML32DirectPosition>
List<TLcdGML32PointProperty>
List<TLcdGML32PointProperty>
TLcdGML32DirectPositionList
TLcdGML32Coordinates
- Parameters:
aValue
- the value to set for thePOS_GROUP_PROPERTY
property.
-
getDegree
public long getDegree()Returns the value of the property that maps to thedegree
element.- Returns:
- the value of the
DEGREE_PROPERTY
property.
-
setDegree
public void setDegree(long aValue) Sets the value of the property that maps to thedegree
element.- Parameters:
aValue
- the value to set for theDEGREE_PROPERTY
property.
-
getKnot
Gets the value of theKNOT_PROPERTY
property adapted to a list ofTLcdGML32Knot
instances.- Returns:
- the value of the
KNOT_PROPERTY
property adapted to a list ofTLcdGML32Knot
instances. - See Also:
-
getNumDerivativeInterior
public long getNumDerivativeInterior()Returns the value of the property that maps to thenumDerivativeInterior
attribute.- Returns:
- the value of the
NUM_DERIVATIVE_INTERIOR_PROPERTY
property.
-
setNumDerivativeInterior
public void setNumDerivativeInterior(long aValue) Sets the value of the property that maps to thenumDerivativeInterior
attribute.- Parameters:
aValue
- the value to set for theNUM_DERIVATIVE_INTERIOR_PROPERTY
property.
-
getNumDerivativesAtEnd
public long getNumDerivativesAtEnd()Returns the value of the property that maps to thenumDerivativesAtEnd
attribute.- Returns:
- the value of the
NUM_DERIVATIVES_AT_END_PROPERTY
property.
-
setNumDerivativesAtEnd
public void setNumDerivativesAtEnd(long aValue) Sets the value of the property that maps to thenumDerivativesAtEnd
attribute.- Parameters:
aValue
- the value to set for theNUM_DERIVATIVES_AT_END_PROPERTY
property.
-
getNumDerivativesAtStart
public long getNumDerivativesAtStart()Returns the value of the property that maps to thenumDerivativesAtStart
attribute.- Returns:
- the value of the
NUM_DERIVATIVES_AT_START_PROPERTY
property.
-
setNumDerivativesAtStart
public void setNumDerivativesAtStart(long aValue) Sets the value of the property that maps to thenumDerivativesAtStart
attribute.- Parameters:
aValue
- the value to set for theNUM_DERIVATIVES_AT_START_PROPERTY
property.
-