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

AVL.SurfaceNormalsImage

Computes a normals image for a surface

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void SurfaceNormalsImage
(
	AvlNet.Surface inSurface,
	NullableRef<AvlNet.Region> inRoi,
	float inScale,
	AvlNet.Image outNormalsImage,
	AvlNet.Region outComputedRegion
)

Parameters

Name Type Range Default Description
inSurfaceAvlNet.Surface
inRoiAvlNet.NullableRef<AvlNet.Region>Range of pixels to be processed. Default value: atl::NIL.
inScalefloat<0.0f, INF>1.0fDefault value: 1.0f.
outNormalsImageAvlNet.Image
outComputedRegionAvlNet.Region

Errors

List of possible exceptions:

Error type Description
DomainError Region of interest exceeds an input surface in SurfaceNormalsImage.

Function Overrides

See also