DM_scale_pfunc_image
List of: Functions
Subjects: Deformable Model Management, Deformable Modeling
Contents: Standalone Deformable Modeling

Action: Scales the image of the input pfunc.

Prototype: void DM_scale_pfunc_image (


int& rtn_err, // out: 0=success




// or neg err code


DS_pfunc* pfunc, // in: pfunc being




// modified.


double scale, // in: amount to scale




// pfunc->image




// (for error checking)


SDM_options* sdmo // in:SDM_options pointer



= NULL //


);

Includes: #include "kernel/acis.hxx"

#include "dshusk/dskernel/dmapi.hxx"

#include "dshusk/dskernel/dspfunc.hxx"

#include "dshusk/dskernel/sdm_options.hxx"

Description: Modifies pfunc. Scales the image of the input pfunc argument. For B-splines and NURBs, this is equivalent to scaling the image space location of every control point.

Errors: rtn_err set to

0 for success

DM_NULL_INPUT_PTR when pfunc is NULL on entry.

DM_BAD_SCALE_PARAM_VALUE when input scale parameter is 0.

Library: dshusk

Filename: ds/dshusk/dskernel/dmapi.hxx

Effect: Changes model
PDF/DS/05FNJ.PDF
HTM/DATA/DS/DS/05FNJ/0022.HTM