|
Description:
|
Pointers to this SDM interface class
DS_pfunc should be considered as handles - they should always be forward-referenced, and never dereferenced. They are created, copied, and deleted by DM api's, and only used as handle (tag) arguments to DM api's. For example, the functions
DM_make_bspline_curve and
DM_make_bspline_surface will make a curve or surface
DS_pfunc from arrays of knots and control points. The resulting
DS_pfunc is then used to make a
DS_dmod with one of the functions
DM_make_dmod_curve or
DM_make_dmod_surface; the resulting
DS_dmod object assumes ownership of the
DS_pfunc. After completing the desired DM api calls, the user must call
DM_delete_dmod on the
DS_dmod pointer.
|