MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / rayMeshIntersectAll

Function rayMeshIntersectAll

source/MRMesh/MRMeshIntersect.cpp:378–390  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

376}
377
378void rayMeshIntersectAll( const MeshPart& meshPart, const Line3f& line, MeshIntersectionCallback callback,
379 float rayStart, float rayEnd, const IntersectionPrecomputes<float>* prec )
380{
381 if( prec )
382 {
383 return rayMeshIntersectAll_<float>( meshPart, line, callback, rayStart, rayEnd, *prec );
384 }
385 else
386 {
387 const IntersectionPrecomputes<float> precNew( line.d );
388 return rayMeshIntersectAll_<float>( meshPart, line, callback, rayStart, rayEnd, precNew );
389 }
390}
391
392void rayMeshIntersectAll( const MeshPart& meshPart, const Line3d& line, MeshIntersectionCallback callback,
393 double rayStart, double rayEnd, const IntersectionPrecomputes<double>* prec )

Callers 3

TESTFunction · 0.85
findDisorientedFacesFunction · 0.85
signedDistanceToMeshFunction · 0.85

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.68