Action:
|
Sets the position of one control point.
|
|
Prototype:
|
void bs3_curve_set_ctrlpt (
|
|
|
bs3_curve curv,
|
// bs3_curve to modify
|
|
|
int index,
|
// index of control point
|
|
|
double* pos,
|
// xyz location copied
|
|
|
|
|
// into control point,
|
|
|
|
|
// size [3]
|
|
|
double weight
|
// weight which control
|
|
|
|
|
// point is assigned,
|
|
|
|
|
// only used if curv is
|
|
|
|
|
// rational
|
|
|
);
|
|
Includes:
|
#include "kernel/acis.hxx"
|
|
#include "kernel/spline/bs3_crv/bs3curve.hxx"
|
|
#include "kernel/spline/bs3_crv/sp3crtn.hxx"
|
|
Description:
|
Checks that
curv has an
index control point. If it does it copies the
xyz 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/bs3_crv/sp3crtn.hxx
|
|
Effect:
|
System routine
|