21 const AffineXf3f * rigidB2A =
nullptr,
bool firstIntersectionOnly =
false );
25 const AffineXf3f* rigidB2A =
nullptr );
29 std::vector<FaceFace>* outCollidingPairs,
31 const Face2RegionMap* regionMap =
nullptr,
32 bool touchIsIntersection = false );
36 const Face2RegionMap * regionMap =
nullptr,
37 bool touchIsIntersection = false );
41 const Face2RegionMap* regionMap =
nullptr,
42 bool touchIsIntersection = false );
48[[nodiscard]]
MRMESH_API bool isInside(
const MeshPart & a,
const MeshPart & b,
const AffineXf3f * rigidB2A =
nullptr );
80 const AffineXf3f* xfA =
nullptr,
const AffineXf3f* xfB =
nullptr );
#define MRMESH_API
Definition MRMeshFwd.h:85
bool isNonIntersectingInside(const MeshPart &a, const MeshPart &b, const AffineXf3f *rigidB2A=nullptr)
checks that arbitrary mesh part A is inside of closed mesh part B The version of isInside without col...
std::vector< FaceFace > findCollidingTriangles(const MeshPart &a, const MeshPart &b, const AffineXf3f *rigidB2A=nullptr, bool firstIntersectionOnly=false)
finds all pairs of colliding triangles from two meshes or two mesh regions
bool isInside(const MeshPart &a, const MeshPart &b, const AffineXf3f *rigidB2A=nullptr)
checks that arbitrary mesh part A is inside of closed mesh part B
Expected< bool > findSelfCollidingTriangles(const MeshPart &mp, std::vector< FaceFace > *outCollidingPairs, ProgressCallback cb={}, const Face2RegionMap *regionMap=nullptr, bool touchIsIntersection=false)
finds all pairs (or the fact of any self-collision) of colliding triangles from one mesh or a region
std::pair< FaceBitSet, FaceBitSet > findCollidingTriangleBitsets(const MeshPart &a, const MeshPart &b, const AffineXf3f *rigidB2A=nullptr)
the same as findCollidingTriangles, but returns one bite set per mesh with colliding triangles
bool isNonIntersectingInsidePrecise(const Mesh &a, FaceId partFace, const MeshPart &b, const CoordinateConverters &conv, int aVertShift, int bVertShift, const AffineXf3f *xfA=nullptr, const AffineXf3f *xfB=nullptr)
checks that arbitrary mesh A part (whole part is represented by one face partFace) is inside of close...
Expected< FaceBitSet > findSelfCollidingTrianglesBS(const MeshPart &mp, ProgressCallback cb={}, const Face2RegionMap *regionMap=nullptr, bool touchIsIntersection=false)
the same findSelfCollidingTriangles but returns the union of all self-intersecting faces
std::function< bool(float)> ProgressCallback
Definition MRMeshFwd.h:790
tl::expected< T, E > Expected
Definition MRExpected.h:31
Only strictly necessary for the bindings (to make MR::MeshIntersectionResult a complete type).
Definition MRCameraOrientationPlugin.h:8
this struct contains coordinate converters float-int-float
Definition MRPrecisePredicates3.h:145