Action:
|
Creates a single patch Bezier surface from Hermite data at the patch corners.
|
|
Prototype:
|
bs3_surface bs3_surface_hermite (
|
|
|
const SPAposition* corners,
|
// corners
|
|
|
const SPAvector* uderivs,
|
// u derivatives
|
|
|
const SPAvector* vderivs,
|
// v derivatives
|
|
|
const SPAvector* twists
|
|
// twists
|
|
|
);
|
|
Includes:
|
#include "kernel/acis.hxx"
|
|
#include "baseutil/vector/position.hxx"
|
|
#include "baseutil/vector/vector.hxx"
|
|
#include "kernel/spline/bs3_srf/bs3surf.hxx"
|
|
#include "kernel/spline/d3_bs3/spd3rtn.hxx"
|
|
Description:
|
The only point to bear in mind is that data is passed in ascending u order first, but ag_srf_data thinks it's in ascending v order first. Therefore care must be taken when copying control points into the big array.
|
|
|
The arrays each have length 4, and contain data at (0,0), (1,0), (0,1) and (1,1) in that order. The derivatives are with respect to a unit parameterization.
|
|
Library:
|
kernel
|
|
Filename:
|
kern/kernel/spline/d3_bs3/sp3srtn.hxx
|
|
Effect:
|
Changes model
|