Action:
|
Sets the position of one control point.
|
|
Prototype:
|
void bs3_surface_set_ctrlpt (
|
|
|
bs3_surface surf,
|
// target bs3_surface to
|
|
|
|
|
// modify
|
|
|
int uindex,
|
// u index of target
|
|
|
|
|
// control point
|
|
|
int vindex,
|
// v index of target
|
|
|
|
|
// control point
|
|
|
double* pos,
|
// xyz location copied
|
|
|
|
|
// into control
|
|
|
|
|
// point,size:[3]
|
|
|
double weight
|
// weight to which
|
|
|
|
|
// control point is
|
|
|
|
|
// assigned only used if
|
|
|
|
|
// surf is rational
|
|
|
);
|
|
Includes:
|
#include "kernel/acis.hxx"
|
|
#include "kernel/spline/bs3_srf/bs3surf.hxx"
|
|
#include "kernel/spline/bs3_srf/sp3srtn.hxx"
|
|
Description:
|
Checks that surf has an (i,j) control point. If it does it copies the
xyz values of
pos into control point's data structure. When
surf is rational it also copies the weight value into the control point's data structure.
|
|
Library:
|
kernel
|
|
Filename:
|
kern/kernel/spline/bs3_srf/sp3srtn.hxx
|
|
Effect:
|
Changes model
|