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
FieldsModifier and TypeFieldDescriptionstatic final TLcdDataPropertyData property that maps to thedegreeelement.static final TLcdDataPropertyData property that maps to theinterpolationattribute.static final TLcdDataPropertyData property that maps to theisPolynomialattribute.static final TLcdDataPropertyData property that maps to theknotelement.static final TLcdDataPropertyData property that maps to theknotTypeattribute.static final TLcdDataPropertyData property that maps to thenumDerivativeInteriorattribute.static final TLcdDataPropertyData property that maps to thenumDerivativesAtEndattribute.static final TLcdDataPropertyData property that maps to thenumDerivativesAtStartattribute.static final TLcdDataPropertyData property that maps to the choice between theposandpointPropertyandpointRepandposListandcoordinateselements.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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the value of the property that maps to thedegreeelement.Returns the value of the property that maps to theinterpolationattribute.Returns the value of the property that maps to theisPolynomialattribute.getKnot()Gets the value of theKNOT_PROPERTYproperty adapted to a list ofTLcdGML32Knotinstances.Returns the value of the property that maps to theknotTypeattribute.longReturns the value of the property that maps to thenumDerivativeInteriorattribute.longReturns the value of the property that maps to thenumDerivativesAtEndattribute.longReturns the value of the property that maps to thenumDerivativesAtStartattribute.Returns the value of the property that maps to the choice between theposandpointPropertyandpointRepandposListandcoordinateselements.voidsetDegree(long aValue) Sets the value of the property that maps to thedegreeelement.voidSets the value of the property that maps to theinterpolationattribute.voidsetIsPolynomial(Boolean aValue) Sets the value of the property that maps to theisPolynomialattribute.voidsetKnotType(ELcdGML32KnotTypes aValue) Sets the value of the property that maps to theknotTypeattribute.voidsetNumDerivativeInterior(long aValue) Sets the value of the property that maps to thenumDerivativeInteriorattribute.voidsetNumDerivativesAtEnd(long aValue) Sets the value of the property that maps to thenumDerivativesAtEndattribute.voidsetNumDerivativesAtStart(long aValue) Sets the value of the property that maps to thenumDerivativesAtStartattribute.voidsetPosGroup(Object aValue) Sets the value of the property that maps to the choice between theposandpointPropertyandpointRepandposListandcoordinateselements.Methods inherited from class com.luciad.format.gml32.model.TLcdGML32AbstractCurveSegment
computePointSFCT, contains2D, contains2D, contains3D, contains3D, getBounds, getEndPoint, getEndTangent2D, getFocusPoint, getInterpolation, getLength2D, getLineSegmentIntersectionCount, getStartPoint, getStartTangent2D, getTangent2DMethods inherited from class com.luciad.datamodel.TLcdDataObject
clone, clone, getDataType, getValue, getValue, hasValue, hasValue, setValue, setValue, toStringMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.luciad.util.ILcdCloneable
clone
-
Field Details
-
INTERPOLATION_ATTR_PROPERTY
Data property that maps to theinterpolationattribute. The possible values for this property are instances ofELcdGML32CurveInterpolation. -
IS_POLYNOMIAL_PROPERTY
Data property that maps to theisPolynomialattribute. The possible values for this property are instances ofBoolean. -
KNOT_TYPE_PROPERTY
Data property that maps to theknotTypeattribute. The possible values for this property are instances ofELcdGML32KnotTypes. -
POS_GROUP_PROPERTY
Data property that maps to the choice between theposandpointPropertyandpointRepandposListandcoordinateselements. The possible values for this property are instances ofList<TLcdGML32DirectPosition>List<TLcdGML32PointProperty>List<TLcdGML32PointProperty>TLcdGML32DirectPositionListTLcdGML32Coordinates
-
DEGREE_PROPERTY
Data property that maps to thedegreeelement. The possible values for this property are instances oflong. -
KNOT_PROPERTY
Data property that maps to theknotelement. The possible values for this property are instances ofList<TLcdGML32KnotProperty>. -
NUM_DERIVATIVE_INTERIOR_PROPERTY
Data property that maps to thenumDerivativeInteriorattribute. The possible values for this property are instances oflong. -
NUM_DERIVATIVES_AT_END_PROPERTY
Data property that maps to thenumDerivativesAtEndattribute. The possible values for this property are instances oflong. -
NUM_DERIVATIVES_AT_START_PROPERTY
Data property that maps to thenumDerivativesAtStartattribute. 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 theinterpolationattribute.- Returns:
- the value of the
INTERPOLATION_ATTR_PROPERTYproperty.
-
setInterpolationAttr
Sets the value of the property that maps to theinterpolationattribute.- Parameters:
aValue- the value to set for theINTERPOLATION_ATTR_PROPERTYproperty.
-
getIsPolynomial
Returns the value of the property that maps to theisPolynomialattribute.- Returns:
- the value of the
IS_POLYNOMIAL_PROPERTYproperty.
-
setIsPolynomial
Sets the value of the property that maps to theisPolynomialattribute.- Parameters:
aValue- the value to set for theIS_POLYNOMIAL_PROPERTYproperty.
-
getKnotType
Returns the value of the property that maps to theknotTypeattribute.- Returns:
- the value of the
KNOT_TYPE_PROPERTYproperty.
-
setKnotType
Sets the value of the property that maps to theknotTypeattribute.- Parameters:
aValue- the value to set for theKNOT_TYPE_PROPERTYproperty.
-
getPosGroup
Returns the value of the property that maps to the choice between theposandpointPropertyandpointRepandposListandcoordinateselements.The possible values for this property are instances of
List<TLcdGML32DirectPosition>List<TLcdGML32PointProperty>List<TLcdGML32PointProperty>TLcdGML32DirectPositionListTLcdGML32Coordinates
- Returns:
- the value of the
POS_GROUP_PROPERTYproperty.
-
setPosGroup
Sets the value of the property that maps to the choice between theposandpointPropertyandpointRepandposListandcoordinateselements.The possible values for this property are instances of
List<TLcdGML32DirectPosition>List<TLcdGML32PointProperty>List<TLcdGML32PointProperty>TLcdGML32DirectPositionListTLcdGML32Coordinates
- Parameters:
aValue- the value to set for thePOS_GROUP_PROPERTYproperty.
-
getDegree
public long getDegree()Returns the value of the property that maps to thedegreeelement.- Returns:
- the value of the
DEGREE_PROPERTYproperty.
-
setDegree
public void setDegree(long aValue) Sets the value of the property that maps to thedegreeelement.- Parameters:
aValue- the value to set for theDEGREE_PROPERTYproperty.
-
getKnot
Gets the value of theKNOT_PROPERTYproperty adapted to a list ofTLcdGML32Knotinstances.- Returns:
- the value of the
KNOT_PROPERTYproperty adapted to a list ofTLcdGML32Knotinstances. - See Also:
-
getNumDerivativeInterior
public long getNumDerivativeInterior()Returns the value of the property that maps to thenumDerivativeInteriorattribute.- Returns:
- the value of the
NUM_DERIVATIVE_INTERIOR_PROPERTYproperty.
-
setNumDerivativeInterior
public void setNumDerivativeInterior(long aValue) Sets the value of the property that maps to thenumDerivativeInteriorattribute.- Parameters:
aValue- the value to set for theNUM_DERIVATIVE_INTERIOR_PROPERTYproperty.
-
getNumDerivativesAtEnd
public long getNumDerivativesAtEnd()Returns the value of the property that maps to thenumDerivativesAtEndattribute.- Returns:
- the value of the
NUM_DERIVATIVES_AT_END_PROPERTYproperty.
-
setNumDerivativesAtEnd
public void setNumDerivativesAtEnd(long aValue) Sets the value of the property that maps to thenumDerivativesAtEndattribute.- Parameters:
aValue- the value to set for theNUM_DERIVATIVES_AT_END_PROPERTYproperty.
-
getNumDerivativesAtStart
public long getNumDerivativesAtStart()Returns the value of the property that maps to thenumDerivativesAtStartattribute.- Returns:
- the value of the
NUM_DERIVATIVES_AT_START_PROPERTYproperty.
-
setNumDerivativesAtStart
public void setNumDerivativesAtStart(long aValue) Sets the value of the property that maps to thenumDerivativesAtStartattribute.- Parameters:
aValue- the value to set for theNUM_DERIVATIVES_AT_START_PROPERTYproperty.
-