You are here: Start » AVL.NET » AVL.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 that values.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void SurfaceProfileAlongPath ( AvlNet.ScanMapState ioState, AvlNet.Surface inSurface, AvlNet.Path inScanPath, int inScanWidth, AvlNet.InterpolationMethod inSurfaceInterpolation, float inSmoothingStdDev, AvlNet.Profile outProfile, AvlNet.Path outPath )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
ioState | AvlNet.ScanMapState | ||||
inSurface | AvlNet.Surface | Input surface. | |||
inScanPath | AvlNet.Path | Path along which the profile is extracted. | |||
inScanWidth | int | <1, INF> | 5 | Width of the scan field. Default value: 5. | |
inSurfaceInterpolation | AvlNet.InterpolationMethod | Bilinear | Interpolation method used for extraction of surface points. Default value: Bilinear. | ||
inSmoothingStdDev | float | <0.0f, INF> | 0.6f | Standard deviation of the gaussian smoothing applied to the extracted profile. Default value: 0.6f. | |
outProfile | AvlNet.Profile | The resulting profile of the surface height. | |||
outPath | AvlNet.Path | The path consisting of the points from which the resulting profile is extracted. |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Non-positive sampling step on input in SurfaceProfileAlongPath. |
DomainError | Non-positive scale on input in SurfaceProfileAlongPath. |
Function Overrides
- SurfaceProfileAlongPath(ScanMapState, Surface, Path, Int32, InterpolationMethod, Single, Profile, Path, Path)
- SurfaceProfileAlongPath(ScanMapState, Surface, Path, Int32, InterpolationMethod, Single, Profile, Path, IList<Path>)
- SurfaceProfileAlongPath(ScanMapState, Surface, Path, Int32, InterpolationMethod, Single, Profile, Path, Path, IList<Path>)
- SurfaceProfileAlongPath(ScanMapState, Surface, Path, Nullable<CoordinateSystem2D>, Nullable<Single>, Int32, InterpolationMethod, Nullable<Int32>, Single, Profile, Path)
- SurfaceProfileAlongPath(ScanMapState, Surface, Path, Nullable<CoordinateSystem2D>, Nullable<Single>, Int32, InterpolationMethod, Nullable<Int32>, Single, Profile, Path, Path)
- SurfaceProfileAlongPath(ScanMapState, Surface, Path, Nullable<CoordinateSystem2D>, Nullable<Single>, Int32, InterpolationMethod, Nullable<Int32>, Single, Profile, Path, IList<Path>)
- SurfaceProfileAlongPath(ScanMapState, Surface, Path, Nullable<CoordinateSystem2D>, Nullable<Single>, Int32, InterpolationMethod, Nullable<Int32>, Single, Profile, Path, Path, IList<Path>)