Action:
|
Gets a model space position from a WCS position.
|
|
Prototype:
|
SPAposition to_model (
|
|
|
const SPAposition& pt
|
// position
|
|
|
);
|
|
|
SPAunit_vector to_model (
|
|
|
const SPAunit_vector& v
|
// unit vector
|
|
|
);
|
|
|
SPAvector to_model (
|
|
|
const SPAvector& v
|
// vector
|
|
|
);
|
|
Includes:
|
#include "kernel/acis.hxx"
|
|
#include "kernel/geomhusk/wcs_utl.hxx"
|
|
#include "baseutil/vector/position.hxx"
|
|
#include "baseutil/vector/unitvec.hxx"
|
|
#include "baseutil/vector/vector.hxx"
|
|
Description:
|
When there is no active WCS, the default is model space, and a one-to-one mapping occurs; therefore, verification that the active WCS is not
NULL is unnecessary.
|
|
Library:
|
kernel
|
|
Filename:
|
kern/kernel/geomhusk/wcs_utl.hxx
|
|
Effect:
|
Read-only
|