# Maths.FlatTriangleTrigonometry class

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

```cs
public sealed class Maths.FlatTriangleTrigonometry
```

A class for finding unknown triangle properties based on known properties. This class solves for triangles in flat Euclidean space where the sum of the angles is known to equal pi radians.

## Constructors

- [Maths.FlatTriangleTrigonometry](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.flattriangletrigonometry/ctor.md)

## Properties

- [A](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.flattriangletrigonometry/a.md): Gets or sets the angle in radians of the A corner. NaN is used to indicate an unknown angle.
- [AB](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.flattriangletrigonometry/ab.md): Gets or sets the length of the edge opposite the C angle. NaN is used to indicate an unknown length.
- [B](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.flattriangletrigonometry/b.md): Gets or sets the anglein radians of the B corner. NaN is used to indicate an unknown angle.
- [BC](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.flattriangletrigonometry/bc.md): Gets or sets the length of the edge opposite the A angle. NaN is used to indicate an unknown length.
- [C](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.flattriangletrigonometry/c.md): Gets or sets the angle in radians of the C corner. NaN is used to indicate an unknown angle.
- [CA](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.flattriangletrigonometry/ca.md): Gets or sets the length of the edge opposite the B angle. NaN is used to indicate an unknown length.
- [HasA](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.flattriangletrigonometry/hasa.md): Gets whether the angle at corner A has been defined.
- [HasAB](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.flattriangletrigonometry/hasab.md): Gets whether the length of edge AB has been defined.
- [HasAngles](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.flattriangletrigonometry/hasangles.md): Gets whether all three angles have been set.
- [HasB](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.flattriangletrigonometry/hasb.md): Gets whether the angle at corner B has been defined.
- [HasBC](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.flattriangletrigonometry/hasbc.md): Gets whether the length of edge BC has been defined.
- [HasC](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.flattriangletrigonometry/hasc.md): Gets whether the angle at corner C has been defined.
- [HasCA](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.flattriangletrigonometry/hasca.md): Gets whether the length of edge CA has been defined.
- [HasEverything](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.flattriangletrigonometry/haseverything.md): Gets whether all properties have been assigned.
- [HasLengths](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.flattriangletrigonometry/haslengths.md): Gets whether the lengths of all three edges has been set.
- [KnownValues](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.flattriangletrigonometry/knownvalues.md): Gets the number of known values.
- [RightA](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.flattriangletrigonometry/righta.md): Gets whether the A angle is a right angle.
- [RightB](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.flattriangletrigonometry/rightb.md): Gets whether the B angle is a right angle.
- [RightC](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.flattriangletrigonometry/rightc.md): Gets whether the C angle is a right angle.

## Methods

- [Solve](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.flattriangletrigonometry/solve.md): Solve all possible remaining edge lengths and corner angles. This method assumes the assigned values are valid.
- [Validate](https://developer.rhino3d.com/api/gh2/type/grasshopper2.maths.flattriangletrigonometry/validate.md): Validate the current assigned values.
