SkipEmptyPoint3DGrid
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#
Python
def SkipEmptyPoint3DGrid( inPoint3DGrid: Point3DGrid, / ) -> ( outNotEmptyPoint3DGrid: Point3DGrid | None, outIsNotEmpty: bool )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inPoint3DGrid | Point3DGrid | ||
![]() |
outNotEmptyPoint3DGrid | Point3DGrid | None | A copy of the input grid, if it is not empty, or Nil otherwise | |
![]() |
outIsNotEmpty | bool | Indication if the input grid is not empty |


