Table of Contents

Method TryGetPlane

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

TryGetPlane(out GeoPlane3)

Tries to get the plane every vertex lies on, using the default tolerance.

public bool TryGetPlane(out GeoPlane3 plane)

Parameters

plane GeoPlane3

Returns

bool

TryGetPlane(out GeoPlane3, Tolerance)

Tries to get the plane every vertex lies on, within a tolerance.

public bool TryGetPlane(out GeoPlane3 plane, Tolerance tolerance)

Parameters

plane GeoPlane3

The carrier plane when the method returns true.

tolerance Tolerance

The tolerance; the planar threshold decides how flat is flat enough.

Returns

bool

false when the vertices are collinear or do not share a plane.

Remarks

Collinear vertices are refused rather than given an arbitrary plane through them: a straight chain lies on infinitely many planes and there is no ground for preferring one.