You are here: Start » AVL.NET » Invoke.SurfaceProfileAlongPath
Creates a series of segments across the input path, measures the average surface height on each of the segments, and creates the final profile from those values.
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void SurfaceProfileAlongPath ( Avl.ScanMapState ioState, Avl.Surface inSurface, Avl.Path inScanPath, Optional<Avl.CoordinateSystem2D> inScanPathAlignment, Optional<float> inSamplingStep, int inScanWidth, Avl.InterpolationMethod inSurfaceInterpolation, Optional<int> inMaxInterpolationLength, float inSmoothingStdDev, Avl.Profile outProfile, Avl.Path outPath, Optional<Avl.Path> outAlignedScanPath, Diagnostic<List<Avl.Path>> diagSamplingPoints )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
ioState | Avl.ScanMapState | ||||
![]() | inSurface | Avl.Surface | Input surface. | ||
![]() | inScanPath | Avl.Path | Path along which the profile is extracted. | ||
![]() | inScanPathAlignment | Atl.Optional<Avl.CoordinateSystem2D> | Adjusts the scan path to the position of the inspected object. Default value: atl::NIL. | ||
![]() | inSamplingStep | Atl.Optional<float> | <0.0f, INF> | Distance between consecutive sampling points on the scan path; if Nil, the bigger of surface X and Y scales is chosen. Default value: atl::NIL. | |
![]() | inScanWidth | int | <1, INF> | 5 | Width of the scan field. Default value: 5. |
![]() | inSurfaceInterpolation | Avl.InterpolationMethod | Bilinear | Interpolation method used for extraction of surface points. Default value: Bilinear. | |
![]() | inMaxInterpolationLength | Atl.Optional<int> | Maximal number of consecutive not existing profile points. Default value: atl::NIL. | ||
![]() | inSmoothingStdDev | float | <0.0f, INF> | 0.6f | Standard deviation of the gaussian smoothing applied to the extracted profile. Default value: 0.6f. |
![]() | outProfile | Avl.Profile | The resulting profile of the surface height. | ||
![]() | outPath | Avl.Path | The path consisting of the points from which the resulting profile is extracted. | ||
![]() | outAlignedScanPath | Atl.Optional<Avl.Path> | Path along which the scan is performed. | ||
![]() | diagSamplingPoints | Avl.Diagnostic<System.Collections.Generic.List<Avl.Path>> | Array of paths each one containing the sampling points that contributed to a single value of the extracted profile; in the image coordinate system. |