bs2_curve_set_ctrlpts
List of: Functions
Subjects: Construction Geometry, Spline Interface
Contents: Kernel

Action: Sets the positions, and optionally weights, of all control points on a curve.

Prototype: void bs2_curve_set_ctrlpts (


bs2_curve curv, // bs2_curve to modify


const SPApar_pos pos[], // [uv0,uv1...] to copy




// sized:[cpt_count]


const double weight[] // weight to which




// control point is




// assigned, only used if




// curve is rational


);

Includes: #include "kernel/acis.hxx"

#include "baseutil/vector/param.hxx"

#include "kernel/spline/bs2_crv/bs2curve.hxx"

#include "kernel/spline/bs2_crv/sp2crtn.hxx"

Description: Iterates through all control points on curv. Copies the values of pos into the corresponding control points. If curv is rational, it also copies the weight values.

Library: kernel

Filename: kern/kernel/spline/bs2_crv/sp2crtn.hxx

Effect: Changes model
PDF/KERN/17FN2.PDF
HTM/DATA/KERN/KERN/17FN2/0037.HTM