Hi Guys,
Need to find out the project point on mesh element.
using the below function i am getting wrong output.
mdlProject_perpendicular(&ProjectPt,NULL,NULL,MeshElmDescr,MASTERFILE,Pointtoproject,NULL,0.00);
How to get project point on mesh element ?
Unknown said:.x = 2.2620409983992711e-111.y = 71045882.188718617.z = 281890399
Those numbers changed. .x is close to zero; .y and .z might be OK. That point is certainly closer than Alpha Centauri (remember that those are UORs, not master units). You're still passing 0.0 for Tolerance, which may be asking a lot of the algorithms.
Regards, Jon Summers LA Solutions
mdlProject_perpendicular projects point on wire frame of geometry. Is that expected result?
BTW, why not use mdlMesh_newPolyfaceFromXYTriangulation to create mesh ??
Answer Verified By: Daniel Christopher