GetControlPoint Method

Gets the coordinates of the control point at a given index.

See Also | Example

Signature

RetVal = object.GetControlPoint(Index)

Object

Spline
The object or objects this method applies to.

Index

Integer; input-only
The index location of the control point you wish to query. The index must be a positive integer beginning with zero.

RetVal

Variant (three-element array of doubles)
The 3D WCS coordinates of the control point at the given index location.

Remarks

Control points fine-tune a spline definition by adding weight to a portion of the spline curve.

You can query the total number of control points in a spline using the NumberOfControlPoints property. You can set a new coordinate location for a control point by using the SetControlPoint method. You can set a new weight for a control point by using the SetWeight method.

 

   Comments?