__header__

Description

Fits Multiple plane to a point cloud

Inputs

Points

a points collection not a collection of collections

Parameters

PlaneCollection

returned Planes

FitPointsCollection

returned point clouds per plane

Plane

Primary Palne

PlanePts

Primary Plane Points

RansacSampleSize

eg a plane need 3 points

RansacIterationsMax

Max number of iterations for Ransac to determine plane

RansacAcceptInlierFraction

this is the fraction of points that stops the ransac iteration. Each pass the fraction means less points as the total number of points has decreased. If high then each pass will run the max number of iterations.

MaxFitError

the fit error for pass 1

MaxNbToFind

MaxPtsRemainingFraction

Stops it less than this fraction of in point cloud remains

Refit

RefitArg

ie fit error

RefitMinPtCount

Pt clouds nned to have at least this number points to be accepted

Sort

SortWeighted

weight the error by size of point clouds

Sort_I
Sort_J
Sort_K

Target Vector

SortMinErr

and error less than this set to this
if set to .01 then 0.99999 and 0.99000 directions vectors are equal

SortMaxErr

any planes with errors above this are removed

ErrVector
WeightedErrVector

return Error Vectors __footer__