You are here: Start » AVL.NET » Function Reference » Surface » Surface Spatial Transforms » 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, AvlNet.Matrix outTransform )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inSurface | AvlNet.Surface | ||||
inPlane | AvlNet.Plane3D | ||||
inUseAbsoluteDistance | bool | ||||
inPreserveOffsetsAndScales | bool | True | Flag indicating whether to preserve input surface offsets and scales or to adjust them accordingly. Default value: True. | ||
outSurface | AvlNet.Surface | ||||
outTransform | AvlNet.Matrix | Matrix of the transform used to compute the output surface; signed distance usage is assumed. |
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
- ProjectSurfaceOntoPlane(Surface, Plane3D, Boolean, Boolean, Surface)
- ProjectSurfaceOntoPlane(Surface, Plane3D, Boolean, Boolean, Surface, NullableRef<Matrix>)