# IntersectingMeshPair struct

Namespace: [Rhino.Geometry.Intersect](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.geometry.intersect.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md) · Since v9.0

```cs
public readonly struct IntersectingMeshPair
```

Two meshes that intersect, as reported by [Intersection.MeshMeshPredicate(IEnumerable<Mesh>, IEnumerable<Mesh>, double, bool, IntersectingMeshPair[], TextLog, CancellationToken)](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.intersect.intersection/meshmeshpredicate.md), with one face of each that intersect.

## Constructors

- [IntersectingMeshPair](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.intersect.intersectingmeshpair/ctor.md): Initializes a new instance of [IntersectingMeshPair](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.intersect.intersectingmeshpair.md).

## Properties

- [FaceIndexA](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.intersect.intersectingmeshpair/faceindexa.md): The index of a face of the first mesh that intersects [IntersectingMeshPair.FaceIndexB](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.intersect.intersectingmeshpair/faceindexb.md), or -1 if it could not be determined.
- [FaceIndexB](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.intersect.intersectingmeshpair/faceindexb.md): The index of a face of the second mesh that intersects [IntersectingMeshPair.FaceIndexA](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.intersect.intersectingmeshpair/faceindexa.md), or -1 if it could not be determined.
- [MeshIndexA](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.intersect.intersectingmeshpair/meshindexa.md): The index of the first mesh, in meshesA.
- [MeshIndexB](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.intersect.intersectingmeshpair/meshindexb.md): The index of the second mesh, in meshesB, or in meshesA when meshesB is null.

## Methods

- [Deconstruct](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.intersect.intersectingmeshpair/deconstruct.md): Deconstructs this pair, so that it can be written as `var (meshIndexA, meshIndexB, _, _) = pair;`.
