Table of Contents

Method TryGetNormal

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

TryGetNormal(out GeoVector3)

Tries to normalize the vector without throwing, using the default tolerance.

public bool TryGetNormal(out GeoVector3 normal)

Parameters

normal GeoVector3

The unit vector, or Zero when the vector is degenerate.

Returns

bool

true if the vector could be normalized; otherwise, false.

TryGetNormal(out GeoVector3, Tolerance)

Tries to normalize the vector without throwing, within a tolerance.

public bool TryGetNormal(out GeoVector3 normal, Tolerance tolerance)

Parameters

normal GeoVector3

The unit vector, or Zero when the vector is degenerate.

tolerance Tolerance

The tolerance deciding what counts as zero length.

Returns

bool

true if the vector could be normalized; otherwise, false.