You are here: Start » FIL.NET » Function Reference » Surface » Surface Features » FIL.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: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void SurfaceProfileAlongPath ( FilNet.ScanMapState ioState, FilNet.Surface inSurface, FilNet.Path inScanPath, FilNet.CoordinateSystem2D? inScanPathAlignment, float? inSamplingStep, int inScanWidth, FilNet.InterpolationMethod inSurfaceInterpolation, int? inMaxInterpolationLength, float inSmoothingStdDev, FilNet.Profile outProfile, FilNet.Path outPath, NullableRef<FilNet.Path> outAlignedScanPath )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
ioState | FilNet.ScanMapState | ||||
![]() | inSurface | FilNet.Surface | Input surface. | ||
![]() | inScanPath | FilNet.Path | Path along which the profile is extracted. | ||
![]() | inScanPathAlignment | FilNet.CoordinateSystem2D? | Adjusts the scan path to the position of the inspected object. Default value: ftl::NIL. | ||
![]() | inSamplingStep | 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: ftl::NIL. | |
![]() | inScanWidth | int | <1, INF> | 5 | Width of the scan field. Default value: 5. |
![]() | inSurfaceInterpolation | FilNet.InterpolationMethod | Bilinear | Interpolation method used for extraction of surface points. Default value: Bilinear. | |
![]() | inMaxInterpolationLength | int? | Maximal number of consecutive not existing profile points. Default value: ftl::NIL. | ||
![]() | inSmoothingStdDev | float | <0.0f, INF> | 0.6f | Standard deviation of the gaussian smoothing applied to the extracted profile. Default value: 0.6f. |
![]() | outProfile | FilNet.Profile | The resulting profile of the surface height. | ||
![]() | outPath | FilNet.Path | The path consisting of the points from which the resulting profile is extracted. | ||
![]() | outAlignedScanPath | FilNet.NullableRef<FilNet.Path> | Path along which the scan is performed. Can be null to skip this parameter calculation. |
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)
- 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, IList<Path>)
- SurfaceProfileAlongPath(ScanMapState, Surface, Path, Nullable<CoordinateSystem2D>, Nullable<Single>, Int32, InterpolationMethod, Nullable<Int32>, Single, Profile, Path, NullableRef<Path>, IList<Path>)