Class TLcdGML31BSpline
- All Implemented Interfaces:
ILcdDataObject,ILcdBounded,ILcdCurve,ILcdShape,ILcdCloneable,ILcdDeepCloneable,ILcdFeatured,ILcdSelfDescribedFeatured,Serializable,Cloneable
- Direct Known Subclasses:
TLcdGML31Bezier
- 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 ofTLcdGML31Knotinstances.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(ELcdGML31KnotTypes 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.gml31.model.TLcdGML31AbstractCurveSegment
computePointSFCT, contains2D, contains2D, contains3D, contains3D, getBounds, getEndPoint, getEndTangent2D, getFocusPoint, getInterpolation, getLength2D, getLineSegmentIntersectionCount, getStartPoint, getStartTangent2D, getTangent2DMethods inherited from class com.luciad.datamodel.TLcdFeaturedDataObject
canSetFeature, getFeature, getFeature, getFeatureCount, getFeaturedDescriptor, setFeature, setFeatureMethods 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 ofELcdGML31CurveInterpolation. -
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 ofELcdGML31KnotTypes. -
POS_GROUP_PROPERTY
Data property that maps to the choice between theposandpointPropertyandpointRepandposListandcoordinateselements. The possible values for this property are instances ofList<TLcdGML31DirectPosition>List<TLcdGML31PointProperty>List<TLcdGML31PointProperty>TLcdGML31DirectPositionListTLcdGML31Coordinates
-
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<TLcdGML31KnotProperty>. -
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
-
TLcdGML31BSpline
public TLcdGML31BSpline() -
TLcdGML31BSpline
-
-
Method Details
-
getInterpolationAttr
Returns the value of the property that maps to theinterpolationattribute.The attribute "interpolation" specifies the curve interpolation mechanism used for this segment. This mechanism uses the control points and control parameters to determine the position of this curve segment. For a BSpline the interpolation can be either "polynomialSpline" or "rationalSpline", default is "polynomialSpline".
- Returns:
- the value of the
INTERPOLATION_ATTR_PROPERTYproperty.
-
setInterpolationAttr
Sets the value of the property that maps to theinterpolationattribute.The attribute "interpolation" specifies the curve interpolation mechanism used for this segment. This mechanism uses the control points and control parameters to determine the position of this curve segment. For a BSpline the interpolation can be either "polynomialSpline" or "rationalSpline", default is "polynomialSpline".
- Parameters:
aValue- the value to set for theINTERPOLATION_ATTR_PROPERTYproperty.
-
getIsPolynomial
Returns the value of the property that maps to theisPolynomialattribute.The attribute isPolynomial is set to true if this is a polynomial spline.
- Returns:
- the value of the
IS_POLYNOMIAL_PROPERTYproperty.
-
setIsPolynomial
Sets the value of the property that maps to theisPolynomialattribute.The attribute isPolynomial is set to true if this is a polynomial spline.
- Parameters:
aValue- the value to set for theIS_POLYNOMIAL_PROPERTYproperty.
-
getKnotType
Returns the value of the property that maps to theknotTypeattribute.The attribute "knotType" gives the type of knot distribution used in defining this spline. This is for information only and is set according to the different construction-functions.
- Returns:
- the value of the
KNOT_TYPE_PROPERTYproperty.
-
setKnotType
Sets the value of the property that maps to theknotTypeattribute.The attribute "knotType" gives the type of knot distribution used in defining this spline. This is for information only and is set according to the different construction-functions.
- 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<TLcdGML31DirectPosition>List<TLcdGML31PointProperty>List<TLcdGML31PointProperty>TLcdGML31DirectPositionListTLcdGML31Coordinates
- 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<TLcdGML31DirectPosition>List<TLcdGML31PointProperty>List<TLcdGML31PointProperty>TLcdGML31DirectPositionListTLcdGML31Coordinates
- Parameters:
aValue- the value to set for thePOS_GROUP_PROPERTYproperty.
-
getDegree
public long getDegree()Returns the value of the property that maps to thedegreeelement.The attribute "degree" shall be the degree of the polynomial used for interpolation in this spline.
- Returns:
- the value of the
DEGREE_PROPERTYproperty.
-
setDegree
public void setDegree(long aValue) Sets the value of the property that maps to thedegreeelement.The attribute "degree" shall be the degree of the polynomial used for interpolation in this spline.
- Parameters:
aValue- the value to set for theDEGREE_PROPERTYproperty.
-
getKnot
Gets the value of theKNOT_PROPERTYproperty adapted to a list ofTLcdGML31Knotinstances.The property "knot" shall be the sequence of distinct knots used to define the spline basis functions.
- Returns:
- the value of the
KNOT_PROPERTYproperty adapted to a list ofTLcdGML31Knotinstances. - See Also:
-
getNumDerivativeInterior
public long getNumDerivativeInterior()Returns the value of the property that maps to thenumDerivativeInteriorattribute.The attribute "numDerivativesInterior" specifies the type of continuity that is guaranteed interior to the curve. The default value of "0" means simple continuity, which is a mandatory minimum level of continuity. This level is referred to as "C 0 " in mathematical texts. A value of 1 means that the function and its first derivative are continuous at the appropriate end point: "C 1 " continuity. A value of "n" for any integer means the function and its first n derivatives are continuous: "C n " continuity. NOTE: Use of these values is only appropriate when the basic curve definition is an underdetermined system. For example, line string segments cannot support continuity above C 0 , since there is no spare control parameter to adjust the incoming angle at the end points of the segment. Spline functions on the other hand often have extra degrees of freedom on end segments that allow them to adjust the values of the derivatives to support C 1 or higher continuity.
- 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.The attribute "numDerivativesInterior" specifies the type of continuity that is guaranteed interior to the curve. The default value of "0" means simple continuity, which is a mandatory minimum level of continuity. This level is referred to as "C 0 " in mathematical texts. A value of 1 means that the function and its first derivative are continuous at the appropriate end point: "C 1 " continuity. A value of "n" for any integer means the function and its first n derivatives are continuous: "C n " continuity. NOTE: Use of these values is only appropriate when the basic curve definition is an underdetermined system. For example, line string segments cannot support continuity above C 0 , since there is no spare control parameter to adjust the incoming angle at the end points of the segment. Spline functions on the other hand often have extra degrees of freedom on end segments that allow them to adjust the values of the derivatives to support C 1 or higher continuity.
- 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.The attribute "numDerivativesAtEnd" specifies the type of continuity between this curve segment and its successor. If this is the last curve segment in the curve, one of these values, as appropriate, is ignored. The default value of "0" means simple continuity, which is a mandatory minimum level of continuity. This level is referred to as "C 0 " in mathematical texts. A value of 1 means that the function and its first derivative are continuous at the appropriate end point: "C 1 " continuity. A value of "n" for any integer means the function and its first n derivatives are continuous: "C n " continuity. NOTE: Use of these values is only appropriate when the basic curve definition is an underdetermined system. For example, line string segments cannot support continuity above C 0 , since there is no spare control parameter to adjust the incoming angle at the end points of the segment. Spline functions on the other hand often have extra degrees of freedom on end segments that allow them to adjust the values of the derivatives to support C 1 or higher continuity.
- 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.The attribute "numDerivativesAtEnd" specifies the type of continuity between this curve segment and its successor. If this is the last curve segment in the curve, one of these values, as appropriate, is ignored. The default value of "0" means simple continuity, which is a mandatory minimum level of continuity. This level is referred to as "C 0 " in mathematical texts. A value of 1 means that the function and its first derivative are continuous at the appropriate end point: "C 1 " continuity. A value of "n" for any integer means the function and its first n derivatives are continuous: "C n " continuity. NOTE: Use of these values is only appropriate when the basic curve definition is an underdetermined system. For example, line string segments cannot support continuity above C 0 , since there is no spare control parameter to adjust the incoming angle at the end points of the segment. Spline functions on the other hand often have extra degrees of freedom on end segments that allow them to adjust the values of the derivatives to support C 1 or higher continuity.
- 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.The attribute "numDerivativesAtStart" specifies the type of continuity between this curve segment and its predecessor. If this is the first curve segment in the curve, one of these values, as appropriate, is ignored. The default value of "0" means simple continuity, which is a mandatory minimum level of continuity. This level is referred to as "C 0 " in mathematical texts. A value of 1 means that the function and its first derivative are continuous at the appropriate end point: "C 1 " continuity. A value of "n" for any integer means the function and its first n derivatives are continuous: "C n " continuity. NOTE: Use of these values is only appropriate when the basic curve definition is an underdetermined system. For example, line string segments cannot support continuity above C 0 , since there is no spare control parameter to adjust the incoming angle at the end points of the segment. Spline functions on the other hand often have extra degrees of freedom on end segments that allow them to adjust the values of the derivatives to support C 1 or higher continuity.
- 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.The attribute "numDerivativesAtStart" specifies the type of continuity between this curve segment and its predecessor. If this is the first curve segment in the curve, one of these values, as appropriate, is ignored. The default value of "0" means simple continuity, which is a mandatory minimum level of continuity. This level is referred to as "C 0 " in mathematical texts. A value of 1 means that the function and its first derivative are continuous at the appropriate end point: "C 1 " continuity. A value of "n" for any integer means the function and its first n derivatives are continuous: "C n " continuity. NOTE: Use of these values is only appropriate when the basic curve definition is an underdetermined system. For example, line string segments cannot support continuity above C 0 , since there is no spare control parameter to adjust the incoming angle at the end points of the segment. Spline functions on the other hand often have extra degrees of freedom on end segments that allow them to adjust the values of the derivatives to support C 1 or higher continuity.
- Parameters:
aValue- the value to set for theNUM_DERIVATIVES_AT_START_PROPERTYproperty.
-