PointCloudExtensionsFitPlane Method (PointCloud, Cuboid)

CVB.Net Documentation
Fits a plane in the points of the PointCloudpc restricted by the given aoi.

Namespace:  Stemmer.Cvb
Assembly:  Stemmer.Cvb (in Stemmer.Cvb.dll) Version: 14.0.0.0
Syntax

public static Plane FitPlane(
	this PointCloud pc,
	Cuboid aoi
)

Parameters

pc
Type: Stemmer.CvbPointCloud
Point cloud to extract points from.
aoi
Type: Stemmer.CvbCuboid
Bounding cuboid to extract points from.

Return Value

Type: Plane
Newly created Plane object fitted in the points from the point cloud.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type PointCloud. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Remarks

Also fits a plane in points lying on one line, thus make sure that the points really span a plane.
See Also

Reference