Action:
|
Gets the [i,j] control point of a given spline surface.
|
|
Prototype:
|
void bs3_surface_ij_ctrlpt (
|
|
|
bs3_surface in_sur,
|
// given surface
|
|
|
int i,
|
// ith points in u
|
|
|
|
|
// direction
|
|
|
int j,
|
// jth points in v
|
|
|
|
|
// direction
|
|
|
SPAposition& ctrl_pos,
|
// returned object space
|
|
|
|
|
// control point
|
|
|
double& weight,
|
// weight if is_rational
|
|
|
logical& is_rational,
|
// set TRUE if surface is
|
|
|
|
|
// rational in u and-or v
|
|
|
int& dimension
|
// dimension of the
|
|
|
|
|
// object space point,
|
|
|
|
|
// >3 is not supported
|
|
|
);
|
|
Includes:
|
#include "kernel/acis.hxx"
|
|
#include "baseutil/logical.h"
|
|
#include "baseutil/vector/position.hxx"
|
|
#include "kernel/spline/bs3_srf/bs3surf.hxx"
|
|
#include "kernel/spline/sg_bs3s/sps3srtn.hxx"
|
|
Errors:
|
Returns (-1,-1,-1) on bad
input: null surface or negative indices.
|
|
Library:
|
kernel
|
|
Filename:
|
kern/kernel/spline/sg_bs3s/sps3srtn.hxx
|
|
Effect:
|
Read-only
|