Package com.luciad.format.gml32.model
Class TLcdGML32CubicSpline
java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.format.gml32.model.TLcdGML32AbstractCurveSegment
com.luciad.format.gml32.model.TLcdGML32CubicSpline
- All Implemented Interfaces:
ILcdDataObject
,ILcdBounded
,ILcdCurve
,ILcdShape
,ILcdCloneable
,ILcdDeepCloneable
,Serializable
,Cloneable
The number of control points shall be at least three.
vectorAtStart is the unit tangent vector at the start point of the spline. vectorAtEnd is the unit tangent vector at the end point of the spline. Only the direction of the vectors shall be used to determine the shape of the cubic spline, not their length.
interpolation is fixed as "cubicSpline".
degree shall be the degree of the polynomial used for the interpolation in this spline. Therefore the degree for a cubic spline is fixed to "3".
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
attribute.static final TLcdDataProperty
Data property that maps to theinterpolation
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.static final TLcdDataProperty
Data property that maps to thevectorAtEnd
element.static final TLcdDataProperty
Data property that maps to thevectorAtStart
element.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 TypeMethodDescriptionReturns the value of the property that maps to thedegree
attribute.Returns the value of the property that maps to theinterpolation
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.Returns the value of the property that maps to thevectorAtEnd
element.Returns the value of the property that maps to thevectorAtStart
element.void
Sets the value of the property that maps to thedegree
attribute.void
Sets the value of the property that maps to theinterpolation
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.void
setVectorAtEnd
(TLcdGML32Vector aValue) Sets the value of the property that maps to thevectorAtEnd
element.void
setVectorAtStart
(TLcdGML32Vector aValue) Sets the value of the property that maps to thevectorAtStart
element.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
-
DEGREE_PROPERTY
Data property that maps to thedegree
attribute. The possible values for this property are instances ofLong
. -
INTERPOLATION_ATTR_PROPERTY
Data property that maps to theinterpolation
attribute. The possible values for this property are instances ofELcdGML32CurveInterpolation
. -
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
-
VECTOR_AT_START_PROPERTY
Data property that maps to thevectorAtStart
element. The possible values for this property are instances ofTLcdGML32Vector
. -
VECTOR_AT_END_PROPERTY
Data property that maps to thevectorAtEnd
element. The possible values for this property are instances ofTLcdGML32Vector
. -
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
-
TLcdGML32CubicSpline
public TLcdGML32CubicSpline() -
TLcdGML32CubicSpline
-
-
Method Details
-
getDegree
Returns the value of the property that maps to thedegree
attribute.- Returns:
- the value of the
DEGREE_PROPERTY
property.
-
setDegree
Sets the value of the property that maps to thedegree
attribute.- Parameters:
aValue
- the value to set for theDEGREE_PROPERTY
property.
-
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.
-
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.
-
getVectorAtStart
Returns the value of the property that maps to thevectorAtStart
element.- Returns:
- the value of the
VECTOR_AT_START_PROPERTY
property.
-
setVectorAtStart
Sets the value of the property that maps to thevectorAtStart
element.- Parameters:
aValue
- the value to set for theVECTOR_AT_START_PROPERTY
property.
-
getVectorAtEnd
Returns the value of the property that maps to thevectorAtEnd
element.- Returns:
- the value of the
VECTOR_AT_END_PROPERTY
property.
-
setVectorAtEnd
Sets the value of the property that maps to thevectorAtEnd
element.- Parameters:
aValue
- the value to set for theVECTOR_AT_END_PROPERTY
property.
-
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.
-