You are here: Start » AVL.NET » Function Reference » Surface » Surface Spatial Transforms » AVL.SplitSurfaceByPlane
Separates the surface points being on one side of the input plane from the others.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void SplitSurfaceByPlane ( AvlNet.Surface inSurface, NullableRef<AvlNet.Region> inRoi, AvlNet.Plane3D inPlane, bool inPreserveDimensions, AvlNet.Surface outSurface1, AvlNet.Surface outSurface2 )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inSurface | AvlNet.Surface | Input surface. | |||
inRoi | AvlNet.NullableRef<AvlNet.Region> | Region of interest. Default value: atl::NIL. | |||
inPlane | AvlNet.Plane3D | Plane used for splitting. | |||
inPreserveDimensions | bool | False | Flag indicating whether the surface dimensions should be preserved or not. Default value: False. | ||
outSurface1 | AvlNet.Surface | Surface with points with positive signed distance to the input plane. | |||
outSurface2 | AvlNet.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. |