You are here: Start » AVL.NET » AVS.SplitSurfaceByPlane Method

AVS.SplitSurfaceByPlane Method

Separates the surface points being on one side of the input plane from the others.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

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.

Function Overrides

See also