Action:
|
Determines two orthogonal
vectors to define a coordinate system, given a
SPAunit_vector.
|
|
Prototype:
|
void compute_axes_from_z (
|
|
|
const SPAunit_vector& z_axis,// given vector
|
|
|
SPAunit_vector& x_axis,
|
|
// first orthogonal
|
|
|
|
|
|
// vector returned
|
|
|
SPAunit_vector& y_axis
|
|
// second orthogonal
|
|
|
|
|
|
// vector returned
|
|
|
);
|
|
Includes:
|
#include "kernel/acis.hxx"
|
|
#include "kernel/geomhusk/geom_utl.hxx"
|
|
#include "baseutil/vector/unitvec.hxx"
|
|
Description:
|
This function uses the active WCS to find the valid
x-axis and
y-axis of a coordinate system if the
z-axis is the only supplied information.
|
|
Library:
|
kernel
|
|
Filename:
|
kern/kernel/geomhusk/geom_utl.hxx
|
|
Effect:
|
Read-only
|