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

Function findIntersectionContours

source/MRMesh/MRMeshBoolean.cpp:388–396  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

386}
387
388Contours3f findIntersectionContours( const Mesh& meshA, const Mesh& meshB, const AffineXf3f* rigidB2A /*= nullptr */ )
389{
390 auto converters = getVectorConverters( meshA, meshB, rigidB2A );
391 auto intersections = findCollidingEdgeTrisPrecise( meshA, meshB, converters.toInt, rigidB2A );
392 auto contours = orderIntersectionContours( meshA.topology, meshB.topology, intersections );
393 Contours3f res;
394 getOneMeshIntersectionContours( meshA, meshB, contours, nullptr, nullptr, converters, rigidB2A, &res );
395 return res;
396}
397
398BooleanResult booleanImpl( Mesh&& meshA, Mesh&& meshB, BooleanOperation operation, const BooleanParameters& params, BooleanInternalParameters intParams )
399{

Callers

nothing calls this directly

Calls 4

getVectorConvertersFunction · 0.85

Tested by

no test coverage detected