# Overlap enum

Namespace: [Grasshopper2.Imaging.Raycasting](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.imaging.raycasting.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public enum Overlap
```

Enumerates the possible overlap types of shapes and boxes.

## Values

| Name | Value | Description |
| --- | --- | --- |
| None | 0 | Shape and box do not overlap at all. |
| Partial | 1 | Shape overlaps with some part of the box, but not all of it. Use this value if you are unsure since it will preclude potentially erroneous optimisations. |
| Total | 2 | Shape overlaps fully with the box, i.e. no part of the box is not also part of the shape. |
