Method FindBestPlane
FindBestPlane(IList<Vector3>, IList<int>)
Finds the plane that best fits the specified set of 3D points.
Declaration
public static Plane FindBestPlane(IList<Vector3> points, IList<int> indexes = null)
Parameters
Type | Name | Description |
---|---|---|
IList<Vector3> | points | The points to find a plane for. Order does not matter. |
IList<int> | indexes | If provided, this method considers only the vertices referenced by this array. |
Returns
Type | Description |
---|---|
Plane | The plane that best matches the layout of the points array. |