Hello,
I want to get the smalest distance from a Point to a SmartSolidElement.
In the API is the function
int mdlKISolid_closestPointOnBody
(
DPoint3d* pointOutP ,
KIENTITY** entityOutPP ,
double* distanceP ,
KIBODY* bodyP ,
Transform* transP ,
DPoint3d* pointP ,
DgnModelRefP modelRef
);
How can I move the pointP from real coordinates to solid coordinates?
If the function returns SUCCESS, how can i transform the distanceP from solid coordinates to real coordinates?
Martin