Class TLcdGML31OffsetCurve
- All Implemented Interfaces:
ILcdDataObject
,ILcdBounded
,ILcdCurve
,ILcdShape
,ILcdCloneable
,ILcdDeepCloneable
,ILcdFeatured
,ILcdSelfDescribedFeatured
,Serializable
,Cloneable
- Since:
- 10.0
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TLcdDataProperty
Data property that maps to thedistance
element.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 theoffsetBase
element.static final TLcdDataProperty
Data property that maps to therefDirection
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 thedistance
element.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 theoffsetBase
element.Returns the value of the property that maps to therefDirection
element.void
setDistance
(TLcdGML31Length aValue) Sets the value of the property that maps to thedistance
element.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
setOffsetBase
(TLcdGML31AbstractCurve aValue) Sets the value of the property that maps to theoffsetBase
element.void
setRefDirection
(TLcdGML31Vector aValue) Sets the value of the property that maps to therefDirection
element.Methods inherited from class com.luciad.format.gml31.model.TLcdGML31AbstractCurveSegment
computePointSFCT, contains2D, contains2D, contains3D, contains3D, getBounds, getEndPoint, getEndTangent2D, getFocusPoint, getInterpolation, getLength2D, getLineSegmentIntersectionCount, getStartPoint, getStartTangent2D, getTangent2D
Methods inherited from class com.luciad.datamodel.TLcdFeaturedDataObject
canSetFeature, getFeature, getFeature, getFeatureCount, getFeaturedDescriptor, setFeature, setFeature
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
-
OFFSET_BASE_PROPERTY
Data property that maps to theoffsetBase
element. The possible values for this property are instances ofTLcdGML31CurveProperty
. -
DISTANCE_PROPERTY
Data property that maps to thedistance
element. The possible values for this property are instances ofTLcdGML31Length
. -
REF_DIRECTION_PROPERTY
Data property that maps to therefDirection
element. The possible values for this property are instances ofTLcdGML31Vector
. -
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
-
TLcdGML31OffsetCurve
public TLcdGML31OffsetCurve() -
TLcdGML31OffsetCurve
-
-
Method Details
-
getOffsetBase
Returns the value of the property that maps to theoffsetBase
element.offsetBase is a reference to thecurve from which this curve is define as an offset.
- Returns:
- the value of the
OFFSET_BASE_PROPERTY
property. - See Also:
-
setOffsetBase
Sets the value of the property that maps to theoffsetBase
element.offsetBase is a reference to thecurve from which this curve is define as an offset.
- Parameters:
aValue
- the value to set for theOFFSET_BASE_PROPERTY
property.
-
getDistance
Returns the value of the property that maps to thedistance
element.distance is the distance at which the offset curve is generated from the basis curve. In 2D systems, positive distances are to be to the left of the basis curve, and the negative distances are to be to the right of the basis curve.
- Returns:
- the value of the
DISTANCE_PROPERTY
property.
-
setDistance
Sets the value of the property that maps to thedistance
element.distance is the distance at which the offset curve is generated from the basis curve. In 2D systems, positive distances are to be to the left of the basis curve, and the negative distances are to be to the right of the basis curve.
- Parameters:
aValue
- the value to set for theDISTANCE_PROPERTY
property.
-
getRefDirection
Returns the value of the property that maps to therefDirection
element.refDistance is used to define the vector direction of the offset curve from the basis curve. It can be omitted in the 2D case, where the distance can be positive or negative. In that case, distance defines left side (positive distance) or right side (negative distance) with respect to the tangent to the basis curve. In 3D the basis curve shall have a well defined tangent direction for every point. The offset curve at any point in 3D, the basis curve shall have a well-defined tangent direction for every point. The offset curve at any point (parameter) on the basis curve c is in the direction - - - - s = v x t where v = c.refDirection() and - t = c.tangent() - For the offset direction to be well-defined, v shall not on any point of the curve be in the same, or opposite, direction as - t. The default value of the refDirection shall be the local co-ordinate axis vector for elevation, which indicates up for the curve in a geographic sense. NOTE! If the refDirection is the positive tangent to the local elevation axis ("points upward"), then the offset vector points to the left of the curve when viewed from above.
- Returns:
- the value of the
REF_DIRECTION_PROPERTY
property.
-
setRefDirection
Sets the value of the property that maps to therefDirection
element.refDistance is used to define the vector direction of the offset curve from the basis curve. It can be omitted in the 2D case, where the distance can be positive or negative. In that case, distance defines left side (positive distance) or right side (negative distance) with respect to the tangent to the basis curve. In 3D the basis curve shall have a well defined tangent direction for every point. The offset curve at any point in 3D, the basis curve shall have a well-defined tangent direction for every point. The offset curve at any point (parameter) on the basis curve c is in the direction - - - - s = v x t where v = c.refDirection() and - t = c.tangent() - For the offset direction to be well-defined, v shall not on any point of the curve be in the same, or opposite, direction as - t. The default value of the refDirection shall be the local co-ordinate axis vector for elevation, which indicates up for the curve in a geographic sense. NOTE! If the refDirection is the positive tangent to the local elevation axis ("points upward"), then the offset vector points to the left of the curve when viewed from above.
- Parameters:
aValue
- the value to set for theREF_DIRECTION_PROPERTY
property.
-
getNumDerivativeInterior
public long getNumDerivativeInterior()Returns the value of the property that maps to thenumDerivativeInterior
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.
- 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.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_PROPERTY
property.
-
getNumDerivativesAtEnd
public long getNumDerivativesAtEnd()Returns the value of the property that maps to thenumDerivativesAtEnd
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.
- 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.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_PROPERTY
property.
-
getNumDerivativesAtStart
public long getNumDerivativesAtStart()Returns the value of the property that maps to thenumDerivativesAtStart
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.
- 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.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_PROPERTY
property.
-