CADability dotNET
Yields a common plane of the cloud of points, if there is one. If there is no common plane the result may be not optimal (residual is not minimal)

Namespace: CADability
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)

Syntax

C#
public static bool FindCommonPlane(
	GeoPoint[] Cloud,
	out Plane commonPlane
)
Visual Basic
Public Shared Function FindCommonPlane ( _
	Cloud As GeoPoint(), _
	<OutAttribute> ByRef commonPlane As Plane _
) As Boolean
Visual C++
public:
static bool FindCommonPlane(
	array<GeoPoint>^ Cloud, 
	[OutAttribute] Plane% commonPlane
)

Parameters

Cloud
Type: array<CADability..::..GeoPoint>[]()[][]
the cloud of points
commonPlane
Type: CADability..::..Plane%

Return Value

the plane, may be null

See Also