Table of Contents

Method GetAreaVector

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

GetAreaVector()

Gets twice the area of the triangle as a vector normal to it, following the right-hand rule around A, B, C.

public GeoVector3 GetAreaVector()

Returns

GeoVector3

Remarks

Both Area and Normal read this, because the cross product carries the answer to each: its length is twice the area and its direction is the normal. Exposing it lets callers that need both pay for the cross product once.