26 return a.
edge.undirected() == b.
edge.undirected() && a.
tri == b.
tri;
42 ConvertToIntVector conv,
const AffineXf3f* rigidB2A =
nullptr,
bool anyIntersection =
false );
51 ConvertToIntVector conv,
bool anyIntersection =
false,
const AffineXf3f* rigidB2A =
nullptr,
int aVertSizes = 0 );
55 const Mesh & a,
const std::vector<EdgeId> & edgesA,
56 const Mesh & b,
const std::vector<FaceId> & facesB,
61 const Mesh & a,
const std::vector<FaceId> & facesA,
62 const Mesh & b,
const std::vector<EdgeId> & edgesB,
70 const AffineXf3f* rigidB2A =
nullptr );
#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:79
MRMESH_API PreciseCollisionResult findCollidingEdgeTrisPrecise(const MeshPart &a, const MeshPart &b, ConvertToIntVector conv, const AffineXf3f *rigidB2A=nullptr, bool anyIntersection=false)
finds all pairs of colliding edges from one mesh and triangle from another mesh
MRMESH_API CoordinateConverters getVectorConverters(const MeshPart &a, const MeshPart &b, const AffineXf3f *rigidB2A=nullptr)
creates simple converters from Vector3f to Vector3i and back in mesh parts area range
MRMESH_API std::vector< EdgeTri > findSelfCollidingEdgeTrisPrecise(const MeshPart &mp, ConvertToIntVector conv, bool anyIntersection=false, const AffineXf3f *rigidB2A=nullptr, int aVertSizes=0)
finds all pairs of colliding edges and triangle within one mesh
MRMESH_API bool operator==(const BitSet &a, const BitSet &b)
compare that two bit sets have the same set bits (they can be equal even if sizes are distinct but la...
std::function< Vector3i(const Vector3f &)> ConvertToIntVector
float-to-int coordinate converter
Definition MRMesh/MRPrecisePredicates3.h:47
this struct contains coordinate converters float-int-float
Definition MRMesh/MRPrecisePredicates3.h:52
edge from one mesh and triangle from another mesh
Definition MRMesh/MRMeshCollidePrecise.h:17
EdgeTri(EdgeId e, FaceId t)
Definition MRMesh/MRMeshCollidePrecise.h:21
EdgeId edge
Definition MRMesh/MRMeshCollidePrecise.h:18
FaceId tri
Definition MRMesh/MRMeshCollidePrecise.h:19
Definition MRMesh/MRMesh.h:22
Definition MRMesh/MRMeshCollidePrecise.h:30
std::vector< EdgeTri > edgesBtrisA
Definition MRMesh/MRMeshCollidePrecise.h:33
std::vector< EdgeTri > edgesAtrisB
each edge is directed to have its origin inside and its destination outside of the other mesh
Definition MRMesh/MRMeshCollidePrecise.h:32