|
| std::vector< FaceFace > | MR::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
|
| std::pair< FaceBitSet, FaceBitSet > | MR::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
|
| Expected< bool > | MR::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
|
| Expected< std::vector< FaceFace > > | MR::findSelfCollidingTriangles (const MeshPart &mp, ProgressCallback cb={}, const Face2RegionMap *regionMap=nullptr, bool touchIsIntersection=false) |
| | finds all pairs of colliding triangles from one mesh or a region
|
| Expected< FaceBitSet > | MR::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
|
| bool | MR::isInside (const MeshPart &a, const MeshPart &b, const AffineXf3f *rigidB2A=nullptr) |
| | checks that arbitrary mesh part A is inside of closed mesh part B
|
| bool | MR::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 collision check; it is user's responsibility to guarantee that the meshes don't collide If B is open, A is outside of B when the point of A tested projects on the boundary of B
|
| bool | MR::isNonIntersectingInside (const Mesh &a, FaceId partFace, const MeshPart &b, const AffineXf3f *rigidB2A=nullptr) |
| | checks that arbitrary mesh A part (whole part is represented by one face partFace) is inside of closed mesh part B The version of isInside without collision check; it is user's responsibility to guarantee that the meshes don't collide If B is open, A is outside of B when the point of A tested projects on the boundary of B
|
| bool | MR::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 closed mesh part B The version of isNonIntersectingInside deciding by the precise orient3d predicate, which is never undefined, unlike the sign of the distance in the area where the meshes touch one another If B is open, A is outside of B when the vertex of A tested projects on the boundary of B
|