You are here: Start » AVL.NET » 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.Region inRoi,
	AvlNet.Plane3D inPlane,
	float inResolution,
	out AvlNet.Image outDistanceImage
)

Parameters

Name Type Range Default Description
inSurfaceAvlNet.SurfaceInput surface.
inRoiAvlNet.RegionRange of pixels to be processed. Default value: atl::NIL, or null.
inPlaneAvlNet.Plane3DInput plane.
inResolutionfloat<0.0f, INF>1.0fNumber of real-world units per one pixel. Default value: 1.0f.
outDistanceImageAvlNet.Image

Errors

Error type Description
DomainError Indefinite plane on input in SurfaceToPlaneDistanceImage.

See also