You are here: Start » AVL.NET » 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 | |
---|---|---|---|---|---|
![]() | inSurface | AvlNet.Surface | Input surface. | ||
![]() | inRoi | AvlNet.Region | Range of pixels to be processed. Default value: atl::NIL, or null. | ||
![]() | inPlane | AvlNet.Plane3D | Input plane. | ||
![]() | inResolution | float | <0.0f, INF> | 1.0f | Number of real-world units per one pixel. Default value: 1.0f. |
![]() | outDistanceImage | AvlNet.Image |
Errors
Error type | Description |
---|---|
DomainError | Indefinite plane on input in SurfaceToPlaneDistanceImage. |