Action:
|
Transforms a surface.
|
|
Prototype:
|
void bs3_surface_trans (
|
|
|
bs3_surface sur,
|
// given surface
|
|
|
SPAtransf const& t
|
// transform
|
|
|
);
|
|
Includes:
|
#include "kernel/acis.hxx"
|
|
#include "baseutil/vector/transf.hxx"
|
|
#include "kernel/spline/bs3_srf/bs3surf.hxx"
|
|
#include "kernel/spline/bs3_srf/sp3srtn.hxx"
|
|
Description:
|
A transform consists of a 3 x 3 matrix with unit determinant, giving an affine transformation, an overall scaling factor, and a translation vector. There are 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 isn't orthogonal.
|
|
|
The parameterization of a surface must be independent of transformation. Therefore, the result of evaluating a transformed surface will be the same as evaluating the untransformed surface at the same parameter value, and transforming the result.
|
|
Library:
|
kernel
|
|
Filename:
|
kern/kernel/spline/bs3_srf/sp3srtn.hxx
|
|
Effect:
|
Changes model
|