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,
	AvlNet.Plane3D inPlane,
	bool inPreserveDimensions,
	AvlNet.Surface outSurface1,
	AvlNet.Surface outSurface2
)

Parameters

Name Type Range Default Description
inSurfaceAvlNet.SurfaceInput surface.
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.

Errors

List of possible exceptions:

Error type Description
DomainError Indefinite plane on input in SplitSurfaceByPlane.

Function Overrides

See also