Two meshes that intersect, as reported by Intersection.MeshMeshPredicate(IEnumerable<Mesh>, IEnumerable<Mesh>, double, bool, IntersectingMeshPair[], TextLog, CancellationToken), with one face of each that intersect.
Constructors
Initializes a new instance of IntersectingMeshPair.
Properties
The index of a face of the first mesh that intersects FaceIndexB, or -1 if it could not be determined.
The index of a face of the second mesh that intersects FaceIndexA, or -1 if it could not be determined.
Methods
public void Deconstruct(out int meshIndexA, out int meshIndexB, out int faceIndexA, out int faceIndexB)
Deconstructs this pair, so that it can be written as
var (meshIndexA, meshIndexB, _, _) = pair;.Parameters:
| meshIndexA (out int) | Receives MeshIndexA. |
| meshIndexB (out int) | Receives MeshIndexB. |
| faceIndexA (out int) | Receives FaceIndexA. |
| faceIndexB (out int) | Receives FaceIndexB. |