Back to Aurora Vision Library website
You are here: Start » Function Reference » Surface » Surface Spatial Transforms » FlattenSurface
FlattenSurface
Header: | AVL.h |
---|---|
Namespace: | avl |
Module: | Vision3DStandard |
Flattens a curved surface.
Syntax
C++
C#
void avl::FlattenSurface ( const avl::Surface& inSurface, const avl::Axis::Type inCurvatureAxis, const float inStdDev, avl::Surface& outSurface, avl::Surface& diagSmoothedSurface )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inSurface | const Surface& | Input surface | |||
inCurvatureAxis | const Axis::Type | Axis along which the input surface is curved | |||
inStdDev | const float | 0.0 - | Standard deviation for smoothing of the surface | ||
outSurface | Surface& | Output surface | |||
diagSmoothedSurface | Surface& | Surface smoothed with a Gaussian kernel |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Unknown axis type in FlattenSurface. |