Action:
|
Gets the weight value corresponding to a specific control point for a rational, 3D B-spline curve.
|
|
Prototype:
|
logical bs3_curve_weight (
|
|
|
bs3_curve bs,
|
// input curve
|
|
|
int index,
|
// returned number
|
|
|
|
|
// of weights
|
|
|
double& weight
|
// weight array
|
|
|
);
|
|
Includes:
|
#include "kernel/acis.hxx"
|
|
#include "baseutil/logical.h"
|
|
#include "kernel/spline/bs3_crv/bs3curve.hxx"
|
|
#include "kernel/spline/sg_bs3c/sps3crtn.hxx"
|
|
Description:
|
This function returns the weight associated with a control point of a rational 3D curve.
|
|
Errors:
|
The index value must be valid and the curve must be rational.
|
|
Library:
|
kernel
|
|
Filename:
|
kern/kernel/spline/sg_bs3c/sps3crtn.hxx
|
|
Effect:
|
System routine
|