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

Action: Sets the position of one control point.

Prototype: void bs2_curve_set_ctrlpt (


bs2_curve curv, // bs2_curve to modify


int index, // index of target




// control point


SPApar_pos const& pos, // uv location copied




// into control point


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: Checks that curv has a control point at the given index. If it does, it copies the uv values of pos into control point's data structure. When curv is rational, it also copies the weight value into the control point's data structure.

Library: kernel

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

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