getInliers / getOutliers

After findSurface function succeed, this function returns the set of inlier / outlier.

Syntax

unsigned int getInliersFloat(
    [in]  FIND_SURFACE_CONTEXT context, 
    [out] void *pointer,
    [in]  unsigned int bufSize
);

unsigned int getOutliersFloat(
    [in]  FIND_SURFACE_CONTEXT context, 
    [out] void *pointer,
    [in]  unsigned int bufSize
);

unsigned int getInliersDouble(
    [in]  FIND_SURFACE_CONTEXT context, 
    [out] void *pointer,
    [in]  unsigned int bufSize
);

unsigned int getOutliersDouble(
    [in]  FIND_SURFACE_CONTEXT context, 
    [out] void *pointer,
    [in]  unsigned int bufSize
);

Parameters

context

pointer

bufSize

Return value

Returns the number of points written to the buffer indicated by pointer. If the function succeeds and pointer is NULL, the return value is the number of pointes to be returned.
The function returns 0 if it does not succeed.

Notes

This function must be called after findSurface function succeed.
Until call cleanUpFindSurface function, you can call this function many times.