SkipEmptySurface


If the input Surface 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 surfaces, e.g. just before the FitPlaneToSurface filter is to be invoked.

Syntax

C++
C#
Python
 
def SkipEmptySurface(
	inSurface: Surface,
	/
)
-> (
	outNotEmptySurface: Surface | None,
	outIsNotEmpty: bool
)

Parameters

Name Type Default Description
Input value inSurface Surface Input surface
Output value outNotEmptySurface Surface | None A copy of the input surface, if it is not empty, or Nil otherwise
Output value outIsNotEmpty bool Indication if the input surface is not empty