You are here: Start » FIL.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: | Fil |
---|---|
Assembly: | FilNet.dll |
Syntax
C++
C#
public static void SurfaceProfileAlongPath ( Fil.ScanMapState ioState, Fil.Surface inSurface, Fil.Path inScanPath, Optional<Fil.CoordinateSystem2D> inScanPathAlignment, Optional<float> inSamplingStep, int inScanWidth, Fil.InterpolationMethod inSurfaceInterpolation, Optional<int> inMaxInterpolationLength, float inSmoothingStdDev, Fil.Profile outProfile, Fil.Path outPath, Optional<Fil.Path> outAlignedScanPath, Diagnostic<List<Fil.Path>> diagSamplingPoints )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
ioState | Fil.ScanMapState | ||||
![]() | inSurface | Fil.Surface | Input surface. | ||
![]() | inScanPath | Fil.Path | Path along which the profile is extracted. | ||
![]() | inScanPathAlignment | Ftl.Optional<Fil.CoordinateSystem2D> | Adjusts the scan path to the position of the inspected object. Default value: ftl::NIL. | ||
![]() | inSamplingStep | Ftl.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: ftl::NIL. | |
![]() | inScanWidth | int | <1, INF> | 5 | Width of the scan field. Default value: 5. |
![]() | inSurfaceInterpolation | Fil.InterpolationMethod | Bilinear | Interpolation method used for extraction of surface points. Default value: Bilinear. | |
![]() | inMaxInterpolationLength | Ftl.Optional<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 | Fil.Profile | The resulting profile of the surface height. | ||
![]() | outPath | Fil.Path | The path consisting of the points from which the resulting profile is extracted. | ||
![]() | outAlignedScanPath | Ftl.Optional<Fil.Path> | Path along which the scan is performed. | ||
![]() | diagSamplingPoints | Fil.Diagnostic<System.Collections.Generic.List<Fil.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. |