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

Function getVectorConverters

source/MRMesh/MRMeshCollidePrecise.cpp:575–584  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

573}
574
575CoordinateConverters getVectorConverters( const MeshPart& a, const MeshPart& b, const AffineXf3f* rigidB2A )
576{
577 MR_TIMER;
578 Box3d bb( a.mesh.computeBoundingBox( a.region ) );
579 bb.include( Box3d( b.mesh.computeBoundingBox( b.region, rigidB2A ) ) );
580 CoordinateConverters res;
581 res.toInt = getToIntConverter( bb );
582 res.toFloat = getToFloatConverter( bb );
583 return res;
584}
585
586CoordinateConverters getVectorConverters( const MeshPart& a )
587{

Callers 7

TESTFunction · 0.85
EMSCRIPTEN_BINDINGSFunction · 0.85
findIntersectionContoursFunction · 0.85
booleanImplFunction · 0.85
getBooleanPointsFunction · 0.85
mainFunction · 0.85

Calls 4

getToIntConverterFunction · 0.85
getToFloatConverterFunction · 0.85
computeBoundingBoxMethod · 0.45
includeMethod · 0.45

Tested by 2

TESTFunction · 0.68