Action:
|
Transforms the given curve in place.
|
|
Prototype:
|
void bs2_curve_trans (
|
|
|
bs2_curve,
|
// given curve
|
|
|
SPAtransf const&
|
// transform
|
|
|
);
|
|
Includes:
|
#include "kernel/acis.hxx"
|
|
#include "baseutil/vector/transf.hxx"
|
|
#include "kernel/spline/bs2_crv/bs2curve.hxx"
|
|
#include "kernel/spline/bs2_crv/sp2crtn.hxx"
|
|
Description:
|
A
SPAtransf consists of a 3x3 matrix with unit determinant, giving an affine transformation, an overall scaling factor and a translation vector. The three logical flags relating to the matrix are:
|
|
|
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.
|
|
|
This function is only provided for completeness. Because both curve and surface parameterizations are transformation-independent, there is nothing for it to do.
|
|
Library:
|
kernel
|
|
Filename:
|
kern/kernel/spline/bs2_crv/sp2crtn.hxx
|
|
Effect:
|
Changes model
|