You are here: Start » FIL.NET » Function Reference » Surface » Surface Spatial Transforms » FIL.SplitSurfaceByPlane
Separates the surface points being on one side of the input plane from the others.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void SplitSurfaceByPlane ( FilNet.Surface inSurface, NullableRef<FilNet.Region> inRoi, FilNet.Plane3D inPlane, bool inPreserveDimensions, FilNet.Surface outSurface1, FilNet.Surface outSurface2 )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inSurface | FilNet.Surface | Input surface. | ||
![]() | inRoi | FilNet.NullableRef<FilNet.Region> | Region of interest. Default value: ftl::NIL. | ||
![]() | inPlane | FilNet.Plane3D | Plane used for splitting. | ||
![]() | inPreserveDimensions | bool | False | Flag indicating whether the surface dimensions should be preserved or not. Default value: False. | |
![]() | outSurface1 | FilNet.Surface | Surface with points with positive signed distance to the input plane. | ||
![]() | outSurface2 | FilNet.Surface | Surface with points with negative signed distance to the input plane. |
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.
Hardware acceleration settings may be manipulated with Settings class.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Indefinite plane on input in SplitSurfaceByPlane. |
DomainError | Region of interest exceeds an input surface in SplitSurfaceByPlane. |