Closed dassaf4 closed 1 year ago
Scalable Mesh team reports 37.5% savings using this algorithm (and inlining) to short-circuit solving the system equation in native code. Geomlibs should be able to realize some savings over the current implementations in:
BarycentricTriangle.intersectRay3d
PolygonOps.intersectRay3d
DPoint3dDVec3dDVec3d::TransverseIntersection
DTriangle3d::TransverseIntersection
bsiDRay3d_intersectTriangle
DPlane3dByVectors::TransverseIntersection
https://github.com/iTwin/itwinjs-core/pull/5399 https://github.com/iTwin/imodel-native/pull/256 https://dev.azure.com/bentleycs/PowerPlatform/_git/PPBase/pullrequest/331375
The new method is implemented, tested, and merged for all 3 repos.
Scalable Mesh team reports 37.5% savings using this algorithm (and inlining) to short-circuit solving the system equation in native code. Geomlibs should be able to realize some savings over the current implementations in:
BarycentricTriangle.intersectRay3d
,PolygonOps.intersectRay3d
DPoint3dDVec3dDVec3d::TransverseIntersection
,DTriangle3d::TransverseIntersection
,bsiDRay3d_intersectTriangle
DPlane3dByVectors::TransverseIntersection
,bsiDRay3d_intersectTriangle