You are here: Start » AVL.NET » Invoke.SurfaceProfileAlongPath

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
ioStateAvl.ScanMapState
inSurfaceAvl.SurfaceInput surface.
inScanPathAvl.PathPath along which the profile is extracted.
inScanPathAlignmentAtl.Optional<Avl.CoordinateSystem2D>Adjusts the scan path to the position of the inspected object. Default value: atl::NIL.
inSamplingStepAtl.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.
inScanWidthint<1, INF>5Width of the scan field. Default value: 5.
inSurfaceInterpolationAvl.InterpolationMethodBilinearInterpolation method used for extraction of surface points. Default value: Bilinear.
inMaxInterpolationLengthAtl.Optional<int>Maximal number of consecutive not existing profile points. Default value: atl::NIL.
inSmoothingStdDevfloat<0.0f, INF>0.6fStandard deviation of the gaussian smoothing applied to the extracted profile. Default value: 0.6f.
outProfileAvl.ProfileThe resulting profile of the surface height.
outPathAvl.PathThe path consisting of the points from which the resulting profile is extracted.
outAlignedScanPathAtl.Optional<Avl.Path>Path along which the scan is performed.
diagSamplingPointsAvl.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.

See also