Martin Roling:
How can I move the pointP from real coordinates to solid coordinates?
void transformUorsToSolidUnits
(
DPoint3d* point // <=> point to be transformed
)
{
mdlKISolid_beginCurrTrans (mdlModelRef_getActive());
mdlCurrTrans_invtransPointArray (point, point, 1);
mdlKISolid_endCurrTrans ();
}
Martin Roling:
how can I transform the distanceP from solid coordinates?
void transformSolidUnitsToUors
(
DPoint3d* point // <=> point to be transformed
)
{
mdlKISolid_beginCurrTrans (mdlModelRef_getActive());
mdlCurrTrans_transformPointArray (point, point, 1);
mdlKISolid_endCurrTrans ();
}
Regards, Jon Summers
LA Solutions