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

Action: Sets the position of all control points.

Prototype: void bs3_surface_set_ctrlpts (


bs3_surface surf, // target bs3_surface to




// modify


int u_cpt_count, // number of control




// points in u


int v_cpt_count, // number of control




// points in v


double* pos_vec, // control point




// locations [c00,




// c01, ... , c10, c11,




// ...] where cij = xyz




//for control point i,j.




// size = u_cpt_count *




// v_cpt_count * 3


double* weight // weight to which




// control points are




// assigned only used if




// surf is rational size




// = u_cpt_count *




// v_cpt_count


);

Includes: #include "kernel/acis.hxx"

#include "kernel/spline/bs3_srf/bs3surf.hxx"

#include "kernel/spline/bs3_srf/sp3srtn.hxx"

Description: Copies the new xyz values of the pos_vec array into surface's control point data structure. If surf is rational, the weight values are also copied.

Library: kernel

Filename: kern/kernel/spline/bs3_srf/sp3srtn.hxx

Effect: Changes model
PDF/KERN/23FN3S3.PDF
HTM/DATA/KERN/KERN/23FN3S3/0006.HTM