All Frameworks  Class Hierarchy  This Framework  Indexes

SPAcstr Global Function api_curve_bezier


outcome api_curve_bezier( const SPAposition& pt1,
const SPAposition& pt2,
const SPAposition& pt3,
const SPAposition& pt4,
EDGE*& crv,
AcisOptions* ao= NULL )
Creates an edge on a cubic Bezier curve given four control points.

Role: This API creates an edge defined by a cubic Bezier curve specified by four control points, pt1, pt2, pt3, and pt4. The Bezier curve is created inside the control points. The curve is represented internally as a spline curve.

Effect: Changes model

Journal: Available

Parameters:
pt1
first control point.
pt2
second control point.
pt3
third control point.
pt4
last control point.
crv
created spline edge returned.
ao
acis options.

This object is included in the file: cstrapi.hxx

Copyright (c) 1989-2007 by Spatial Corp. All rights reserved.