Back to FabImage Library website
You are here: Start » Function Reference » Point3DGrid » Point3DGrid Basics » SkipEmptyPoint3DGrid

SkipEmptyPoint3DGrid
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | Vision3DLite |
If the input Point3DGrid has at least one point defined, then it is copied to the output; otherwise Nil is returned.
Applications: Secures against domain errors caused by empty grids, e.g. just before the FitPlaneToPoints filter is to be invoked.
Syntax
C++
C#
void fil::SkipEmptyPoint3DGrid ( const fil::Point3DGrid& inPoint3DGrid, ftl::Conditional<fil::Point3DGrid>& outNotEmptyPoint3DGrid, bool& outIsNotEmpty )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inPoint3DGrid | const Point3DGrid& | ||
![]() |
outNotEmptyPoint3DGrid | Conditional<Point3DGrid>& | A copy of the input grid, if it is not empty, or Nil otherwise | |
![]() |
outIsNotEmpty | bool& | Indication if the input grid is not empty |