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

AVL.ProjectSurfaceOntoPlane

Projects a surface on another plane, replacing Z coordinate of a point with its distance from a given plane.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void ProjectSurfaceOntoPlane
(
	AvlNet.Surface inSurface,
	AvlNet.Plane3D inPlane,
	bool inUseAbsoluteDistance,
	bool inPreserveOffsetsAndScales,
	AvlNet.Surface outSurface
)

Parameters

Name Type Range Default Description
inSurfaceAvlNet.Surface
inPlaneAvlNet.Plane3D
inUseAbsoluteDistancebool
inPreserveOffsetsAndScalesboolTrueFlag indicating whether to preserve input surface offsets and scales or to adjust them accordingly. Default value: True.
outSurfaceAvlNet.Surface

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 ProjectSurfaceOntoPlane.

Function Overrides

See also