# TriShape class

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

```cs
public sealed class TriShape : Shape
```

Represents a single triangle for ray intersections.

## Constructors

- [TriShape](https://developer.rhino3d.com/api/gh2/type/grasshopper2.imaging.raycasting.shapes.trishape/ctor.md): (4 overloads) Create a new triangle.

## Properties

- [A](https://developer.rhino3d.com/api/gh2/type/grasshopper2.imaging.raycasting.shapes.trishape/a.md): Gets the A corner.
- [B](https://developer.rhino3d.com/api/gh2/type/grasshopper2.imaging.raycasting.shapes.trishape/b.md): Gets the B corner.
- [Bounds](https://developer.rhino3d.com/api/gh2/type/grasshopper2.imaging.raycasting.shapes.trishape/bounds.md): Gets the bounding box for this shape.
- [C](https://developer.rhino3d.com/api/gh2/type/grasshopper2.imaging.raycasting.shapes.trishape/c.md): Gets the C corner.

## Methods

- [IsCoincident](https://developer.rhino3d.com/api/gh2/type/grasshopper2.imaging.raycasting.shapes.trishape/iscoincident.md): Test whether a specific coordinate is coincident with this obstacle.
- [Overlap](https://developer.rhino3d.com/api/gh2/type/grasshopper2.imaging.raycasting.shapes.trishape/overlap.md): Determine the overlap between this shape and a box.
