Action:
|
Transforms the given curve in place.
|
|
Prototype:
|
void bs3_curve_trans (
|
|
|
bs3_curve cur,
|
// given curve
|
|
|
SPAtransf const& t
|
// given transform
|
|
|
);
|
|
Includes:
|
#include "kernel/acis.hxx"
|
|
#include "baseutil/vector/transf.hxx"
|
|
#include "kernel/spline/bs3_crv/bs3curve.hxx"
|
|
#include "kernel/spline/bs3_crv/sp3crtn.hxx"
|
|
Description:
|
Simply transforms the curve's control points and scales the knot values. The parameterization is not affected by the transformation.
|
|
|
A
SPAtransf consists of a 3 x 3 matrix with unit determinant, giving an affine transformation, an overall scaling factor and a translation vector. There are also three logical flags, relating to the matrix:
|
|
|
rotate indicates whether the matrix is anything other than the identity.
|
|
|
reflect indicates whether the determinant is -1.
|
|
|
shear is set if the matrix is not orthogonal.
|
|
Library:
|
kernel
|
|
Filename:
|
kern/kernel/spline/bs3_crv/sp3crtn.hxx
|
|
Effect:
|
System routine
|