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, NullableRef<AvlNet.Region> inRoi, AvlNet.Plane3D inPlane, float inResolution, bool inSignedDistance, AvlNet.Image outDistanceImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inSurface | AvlNet.Surface | Input surface. | |||
inRoi | AvlNet.NullableRef<AvlNet.Region> | Range of pixels to be processed. Default value: atl::NIL. | |||
inPlane | AvlNet.Plane3D | Input plane. | |||
inResolution | float | <0.0f, INF> | 1.0f | Number of real-world units per one pixel. Default value: 1.0f. | |
inSignedDistance | bool | False | Flag indicating whether to compute signed distance to the plane. Default value: False. | ||
outDistanceImage | AvlNet.Image |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Indefinite plane on input in SurfaceToPlaneDistanceImage. |