GetCurveLines

Top  Previous  Next

 

GetCurveLines (Method)

 

Use this method if you want to get a curve object as an array of lines

 

Syntax:

Function GetCurveLines(hCurve As Integer, x1() As Single, y1() As Single, z1() As Single, x2() As Single, y2() As Single, z2() As Single) As Integer

 

The GetCurveLines method syntax consists of the following:

Parameter

Data Type

Description

hCurve

Integer

Is the handle of the curve

x1()

Single

Is an array of the x coordinates of the lines first point

y1()

Single

Is an array of the y coordinates of the lines first point

z1()

Single

Is an array of the z coordinates of the lines first point

x2()

Single

Is an array of the x coordinates of the lines second point

y2()

Single

Is an array of the y coordinates of the lines second point

z2()

Single

Is an array of the z coordinates of the lines first point

 

Return value:

Integer - Returns the upper bound of the arrays

 

Example