You are here: Start » AVL.NET » Function Reference » Surface » Surface Spatial Transforms » AVL.SplitSurfaceByPlane

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
inSurfaceAvlNet.SurfaceInput surface.
inRoiAvlNet.NullableRef<AvlNet.Region>Region of interest. Default value: atl::NIL.
inPlaneAvlNet.Plane3DPlane used for splitting.
inPreserveDimensionsboolFalseFlag indicating whether the surface dimensions should be preserved or not. Default value: False.
outSurface1AvlNet.SurfaceSurface with points with positive signed distance to the input plane.
outSurface2AvlNet.SurfaceSurface 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.

Function Overrides

See also