Cadcorp SIS API Methods

BezierTo Method

Description

The curve is appended to the current LineString item sequence, started by the last MoveTo, and extended using BulgeTo, LineTo, or this method.

Syntax

Visual Basic
Public Function BezierTo( _
   ByVal x1 As Double, _
   ByVal y1 As Double, _
   ByVal z1 As Double, _
   ByVal x2 As Double, _
   ByVal y2 As Double, _
   ByVal z2 As Double, _
   ByVal x3 As Double, _
   ByVal y3 As Double, _
   ByVal z3 As Double _
) As Integer

Parameters

x1
the x position of the first Bezier control point.
y1
the y position of the first Bezier control point.
z1
the z position of the first Bezier control point.
x2
the x position of the second Bezier control point.
y2
the y position of the second Bezier control point.
z2
the z position of the second Bezier control point.
x3
the x position of the end point of the Bezier curve.
y3
the y position of the end point of the Bezier curve.
z3
the z position of the end point of the Bezier curve.

Remarks

The current drawing position will move to the end of the curve after calling this method.

Available: GEO MD ME OD SISpy

Group:

Example

sis.BezierTo (10, 33, 0, 22, -23, 0, 34, -1, 0)


Send comments on this topic.

Click to return to www.cadcorp.com

© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).