public class TLcdGML31BSpline extends TLcdGML31AbstractCurveSegment
Modifier and Type | Field and Description |
---|---|
static TLcdDataProperty |
DEGREE_PROPERTY
Data property that maps to the
degree element. |
static TLcdDataProperty |
INTERPOLATION_ATTR_PROPERTY
Data property that maps to the
interpolation attribute. |
static TLcdDataProperty |
IS_POLYNOMIAL_PROPERTY
Data property that maps to the
isPolynomial attribute. |
static TLcdDataProperty |
KNOT_PROPERTY
Data property that maps to the
knot element. |
static TLcdDataProperty |
KNOT_TYPE_PROPERTY
Data property that maps to the
knotType attribute. |
static TLcdDataProperty |
NUM_DERIVATIVE_INTERIOR_PROPERTY
Data property that maps to the
numDerivativeInterior attribute. |
static TLcdDataProperty |
NUM_DERIVATIVES_AT_END_PROPERTY
Data property that maps to the
numDerivativesAtEnd attribute. |
static TLcdDataProperty |
NUM_DERIVATIVES_AT_START_PROPERTY
Data property that maps to the
numDerivativesAtStart attribute. |
static TLcdDataProperty |
POS_GROUP_PROPERTY
Data property that maps to the choice between the
pos and pointProperty and pointRep and posList and coordinates elements. |
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 and Description |
---|
TLcdGML31BSpline() |
TLcdGML31BSpline(TLcdDataType aType) |
Modifier and Type | Method and Description |
---|---|
long |
getDegree()
Returns the value of the property that maps to the
degree element. |
ELcdGML31CurveInterpolation |
getInterpolationAttr()
Returns the value of the property that maps to the
interpolation attribute. |
Boolean |
getIsPolynomial()
Returns the value of the property that maps to the
isPolynomial attribute. |
List<TLcdGML31Knot> |
getKnot()
Gets the value of the
KNOT_PROPERTY property adapted to a list of TLcdGML31Knot instances. |
ELcdGML31KnotTypes |
getKnotType()
Returns the value of the property that maps to the
knotType attribute. |
long |
getNumDerivativeInterior()
Returns the value of the property that maps to the
numDerivativeInterior attribute. |
long |
getNumDerivativesAtEnd()
Returns the value of the property that maps to the
numDerivativesAtEnd attribute. |
long |
getNumDerivativesAtStart()
Returns the value of the property that maps to the
numDerivativesAtStart attribute. |
Object |
getPosGroup()
Returns the value of the property that maps to the choice between the
pos and pointProperty and pointRep and posList and coordinates elements. |
void |
setDegree(long aValue)
Sets the value of the property that maps to the
degree element. |
void |
setInterpolationAttr(ELcdGML31CurveInterpolation aValue)
Sets the value of the property that maps to the
interpolation attribute. |
void |
setIsPolynomial(Boolean aValue)
Sets the value of the property that maps to the
isPolynomial attribute. |
void |
setKnotType(ELcdGML31KnotTypes aValue)
Sets the value of the property that maps to the
knotType attribute. |
void |
setNumDerivativeInterior(long aValue)
Sets the value of the property that maps to the
numDerivativeInterior attribute. |
void |
setNumDerivativesAtEnd(long aValue)
Sets the value of the property that maps to the
numDerivativesAtEnd attribute. |
void |
setNumDerivativesAtStart(long aValue)
Sets the value of the property that maps to the
numDerivativesAtStart attribute. |
void |
setPosGroup(Object aValue)
Sets the value of the property that maps to the choice between the
pos and pointProperty and pointRep and posList and coordinates elements. |
computePointSFCT, contains2D, contains2D, contains3D, contains3D, getBounds, getEndPoint, getEndTangent2D, getFocusPoint, getInterpolation, getLength2D, getLineSegmentIntersectionCount, getStartPoint, getStartTangent2D, getTangent2D
canSetFeature, getFeature, getFeature, getFeatureCount, getFeaturedDescriptor, setFeature, setFeature
clone, clone, getDataType, getValue, getValue, hasValue, hasValue, setValue, setValue, toString
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
clone
public static final TLcdDataProperty INTERPOLATION_ATTR_PROPERTY
interpolation
attribute.
The possible values for this property are instances of ELcdGML31CurveInterpolation
.public static final TLcdDataProperty IS_POLYNOMIAL_PROPERTY
isPolynomial
attribute.
The possible values for this property are instances of Boolean
.public static final TLcdDataProperty KNOT_TYPE_PROPERTY
knotType
attribute.
The possible values for this property are instances of ELcdGML31KnotTypes
.public static final TLcdDataProperty POS_GROUP_PROPERTY
pos
and pointProperty
and pointRep
and posList
and coordinates
elements.
The possible values for this property are instances of
List<TLcdGML31DirectPosition>
List<TLcdGML31PointProperty>
List<TLcdGML31PointProperty>
TLcdGML31DirectPositionList
TLcdGML31Coordinates
public static final TLcdDataProperty DEGREE_PROPERTY
degree
element.
The possible values for this property are instances of long
.public static final TLcdDataProperty KNOT_PROPERTY
knot
element.
The possible values for this property are instances of List<TLcdGML31KnotProperty>
.public static final TLcdDataProperty NUM_DERIVATIVE_INTERIOR_PROPERTY
numDerivativeInterior
attribute.
The possible values for this property are instances of long
.public static final TLcdDataProperty NUM_DERIVATIVES_AT_END_PROPERTY
numDerivativesAtEnd
attribute.
The possible values for this property are instances of long
.public static final TLcdDataProperty NUM_DERIVATIVES_AT_START_PROPERTY
numDerivativesAtStart
attribute.
The possible values for this property are instances of long
.public TLcdGML31BSpline()
public TLcdGML31BSpline(TLcdDataType aType)
public ELcdGML31CurveInterpolation getInterpolationAttr()
interpolation
attribute.
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".
INTERPOLATION_ATTR_PROPERTY
property.public void setInterpolationAttr(ELcdGML31CurveInterpolation aValue)
interpolation
attribute.
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".
aValue
- the value to set for the INTERPOLATION_ATTR_PROPERTY
property.public Boolean getIsPolynomial()
isPolynomial
attribute.
The attribute isPolynomial is set to true if this is a polynomial spline.
IS_POLYNOMIAL_PROPERTY
property.public void setIsPolynomial(Boolean aValue)
isPolynomial
attribute.
The attribute isPolynomial is set to true if this is a polynomial spline.
aValue
- the value to set for the IS_POLYNOMIAL_PROPERTY
property.public ELcdGML31KnotTypes getKnotType()
knotType
attribute.
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.
KNOT_TYPE_PROPERTY
property.public void setKnotType(ELcdGML31KnotTypes aValue)
knotType
attribute.
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.
aValue
- the value to set for the KNOT_TYPE_PROPERTY
property.public Object getPosGroup()
pos
and pointProperty
and pointRep
and posList
and coordinates
elements.
The possible values for this property are instances of
List<TLcdGML31DirectPosition>
List<TLcdGML31PointProperty>
List<TLcdGML31PointProperty>
TLcdGML31DirectPositionList
TLcdGML31Coordinates
POS_GROUP_PROPERTY
property.public void setPosGroup(Object aValue)
pos
and pointProperty
and pointRep
and posList
and coordinates
elements.
The possible values for this property are instances of
List<TLcdGML31DirectPosition>
List<TLcdGML31PointProperty>
List<TLcdGML31PointProperty>
TLcdGML31DirectPositionList
TLcdGML31Coordinates
aValue
- the value to set for the POS_GROUP_PROPERTY
property.public long getDegree()
degree
element.
The attribute "degree" shall be the degree of the polynomial used for interpolation in this spline.
DEGREE_PROPERTY
property.public void setDegree(long aValue)
degree
element.
The attribute "degree" shall be the degree of the polynomial used for interpolation in this spline.
aValue
- the value to set for the DEGREE_PROPERTY
property.public List<TLcdGML31Knot> getKnot()
KNOT_PROPERTY
property adapted to a list of TLcdGML31Knot
instances.
The property "knot" shall be the sequence of distinct knots used to define the spline basis functions.
KNOT_PROPERTY
property adapted to a list of TLcdGML31Knot
instances.TLcdGML31KnotProperty
public long getNumDerivativeInterior()
numDerivativeInterior
attribute.
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.
NUM_DERIVATIVE_INTERIOR_PROPERTY
property.public void setNumDerivativeInterior(long aValue)
numDerivativeInterior
attribute.
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.
aValue
- the value to set for the NUM_DERIVATIVE_INTERIOR_PROPERTY
property.public long getNumDerivativesAtEnd()
numDerivativesAtEnd
attribute.
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.
NUM_DERIVATIVES_AT_END_PROPERTY
property.public void setNumDerivativesAtEnd(long aValue)
numDerivativesAtEnd
attribute.
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.
aValue
- the value to set for the NUM_DERIVATIVES_AT_END_PROPERTY
property.public long getNumDerivativesAtStart()
numDerivativesAtStart
attribute.
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.
NUM_DERIVATIVES_AT_START_PROPERTY
property.public void setNumDerivativesAtStart(long aValue)
numDerivativesAtStart
attribute.
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.
aValue
- the value to set for the NUM_DERIVATIVES_AT_START_PROPERTY
property.