Properties
- Property Continuity() As (Read Only)
-
Returns the highest level of geometric continuity the curve
possesses.
- Parameters:
-
- oLevel
- The maximum geometric continuity level dd>
- Property EndPoint() As
-
Returns the end point of the curve. The end point is
decided with respect to the logical flow
imposed on the curve by the object.
- Parameters:
-
- oEndPoint
- The end point of the curve dd>
- Property Period() As (Read Only)
-
Returns the period of a periodic curve.
- Parameters:
-
- oPeriod
- The period of the curve. dd>
- Property StartPoint() As
-
Returns the start point of the curve. The start point is
decided with respect to the logical flow
imposed on the curve by the object.
- Parameters:
-
- oStartPoint
- The start point of the curve dd>
Methods
- Sub GetCurvature( iParam, oCurvature)
-
Returns the curvature and curvature direction at the
parameter specified.
- Parameters:
-
- iParam
- The parameter of the chosen point on the curve. dd>
- oCurvature[0]
- The curvature at the specified parameter. dd>
- oCurvature[1;2]
- The unit-vector of curvature direction at the specified parameter. dd>
- Sub GetDerivatives( iParam, oDerivative)
-
Returns the first, second and third derivatives at the
parameter specified.
- Parameters:
-
- iParam
- The parameter of the chosen point on the curve. dd>
- oDerivative[0]
- First degree derivative. dd>
- oDerivative[1]
- Second degree derivative. dd>
- oDerivative[2]
- Third degree derivative. dd>
- Sub GetEndPoints( oEndPoints)
-
Returns the end-points of the curve. The start point and the
end point are decided with respect to the logical flow
imposed on the curve by the object.
- Parameters:
-
- oEndPoints[0]
- The x coordinate of the start point dd>
- oEndPoints[1]
- The y coordinate of the start point dd>
- oEndPoints[2]
- The x coordinate of the end point dd>
- oEndPoints[3]
- The y coordinate of the end point dd>
- Func GetLengthAtParam( iFromParam, iToParam) As
-
Returns the length, measured along the curve, from a given
parameter to a given parameter.
- Parameters:
-
- iFromParam
- The parameter from which the length is to be measured. dd>
- iToParam
- The parameter to which the length is to be measured. dd>
- oLength
- The length between the parameters dd>
- Func GetParamAtLength( iFromParam, iLength) As
-
Returns the parameter at a given length, measured along
the curve, starting from a given parameter. The direction
of measurement is always in the direction of the logical
flow of the curve. If no inherent logical flow can be
assigned the direction is the direction of increasing
parameterization.
- Parameters:
-
- iFromParam
- The parameter from which the length needs to be measured. dd>
- iLength
- The length of the curve to be measured from iFromParam in the logical flow direction of the curve. dd>
- oParam
- The computed parameter. dd>
- Sub GetParamExtents( oParams)
-
Returns the parametric extents of the curve. This is the
parametric equivalent of the end-points.
- Parameters:
-
- oParams[0]
- The parameter associated with the start point of the curve dd>
- oParams[1]
- The parameter associated with the end point of the curve dd>
- Sub GetPointAtParam( iParam, oPoint)
-
Returns a point on the curve computed from an
input parameter.
- Parameters:
-
- iParam
- The parameter dd>
- oPoint
- The X and Y coordinates of the computed 2D space point. dd>
- Sub GetRangeBox( oBoundPoint)
-
Returns the range box (or bounding box) of the object
The box is axially aligned within the local coordinate system of the server.- Parameters:
-
- oBoundPoint[0]
- The minimum x point of the box dd>
- oBoundPoint[1]
- The minimum y point of the box dd>
- oBoundPoint[2]
- The maximum x point of the box dd>
- oBoundPoint[3]
- The maximum y point of the box dd>
- Sub GetTangent( iParam, oTangency)
-
Returns the unit-vector tangent at the parameter specified.
- Parameters:
-
- iParam
- The parameter of the chosen point on the curve. dd>
- oTangency
- The X and Y coordinates of the unit-vector tangent at the specified parameter. dd>
- Func IsPeriodic() As
-
Specifies whether a curve is periodic or not.
- Parameters:
-
- oPeriodic
- Returns true if the curve is periodic. dd>