Table of Contents

Property Normal

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

Normal

Gets the unit normal of the triangle, following the right-hand rule around A, B, C.

public GeoVector3 Normal { get; }

Property Value

GeoVector3

Remarks

The normal is read from the triangle's own numbers, not against a tolerance: a triangle 0.002 by 0.002, with twice its area 4E-6, has its normal, where it threw under the default vector tolerance.

Exceptions

InvalidOperationException

Thrown when the corners lie on one line to rounding, so that no normal can be formed: never for a triangle IsDegenerate(Tolerance) does not call degenerate, whatever the tolerance.