Table of Contents

Method GetAngles

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

GetAngles()

Gets the angles at A, B and C, in radians.

public double[] GetAngles()

Returns

double[]

The three interior angles, which add up to π; on a triangle of no area two of them are nought.

Remarks

Each angle is read from the cross and dot products of the two edges leaving its vertex, so a vertex standing on another, whose edges have no direction, has an angle of nought rather than a number that is not one.