You are here: Start » AVL.NET » Function Reference » Surface » Surface Features » AVL.SurfaceToPlaneDistanceImage

AVL.SurfaceToPlaneDistanceImage

Computes the image of the distances of the input surface points from a given plane.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void SurfaceToPlaneDistanceImage
(
	AvlNet.Surface inSurface,
	AvlNet.Plane3D inPlane,
	float inResolution,
	bool inSignedDistance,
	AvlNet.Image outDistanceImage
)

Parameters

Name Type Range Default Description
inSurfaceAvlNet.SurfaceInput surface.
inPlaneAvlNet.Plane3DInput plane.
inResolutionfloat<0.0f, INF>1.0fNumber of real-world units per one pixel. Default value: 1.0f.
inSignedDistanceboolFalseFlag indicating whether to compute signed distance to the plane. Default value: False.
outDistanceImageAvlNet.Image

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 SurfaceToPlaneDistanceImage.
DomainError Region of interest exceeds an input surface in SurfaceToPlaneDistanceImage.

Function Overrides

See also