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

FIL.SurfaceToPlaneDistanceImage

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

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

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

Parameters

Name Type Range Default Description
inSurfaceFilNet.SurfaceInput surface.
inPlaneFilNet.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.
outDistanceImageFilNet.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