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

Invoke.CreateSurfaceMeasurementMap

(Pre)computes surface sampling locations used by MeasureObjectWidth3D function.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void CreateSurfaceMeasurementMap
(
	Avl.SurfaceFormat inSurfaceFormat,
	Avl.SegmentScanField inScanField,
	Optional<Avl.CoordinateSystem2D> inScanFieldAlignment,
	int inScanCount,
	Optional<float> inSamplingStep,
	int inScanWidth,
	Avl.InterpolationMethod inSurfaceInterpolation,
	List<Avl.ScanMap> outMeasurementMap,
	Optional<Avl.SegmentScanField> outAlignedScanField,
	Diagnostic<List<Avl.Segment2D>> diagScanSegments
)

Parameters

Name Type Range Default Description
inSurfaceFormatAvl.SurfaceFormatInformation about dimensions, depth and pixel type of the surface.
inScanFieldAvl.SegmentScanFieldField in which scans will be performed.
inScanFieldAlignmentAtl.Optional<Avl.CoordinateSystem2D>Adjusts the scan field to the position of the inspected object. Default value: atl::NIL.
inScanCountint<2, INF>5Number of scans to be performed. Default value: 5.
inSamplingStepAtl.Optional<float>Desired distance between consecutive sampling points on the scan segments; if Nil, the bigger of surface X and Y scales is chosen. Default value: atl::NIL.
inScanWidthint<1, INF>5Width of the scan area. Default value: 5.
inSurfaceInterpolationAvl.InterpolationMethodBilinearInterpolation method used in extraction of image pixel values. Default value: Bilinear.
outMeasurementMapSystem.Collections.Generic.List<Avl.ScanMap>
outAlignedScanFieldAtl.Optional<Avl.SegmentScanField>Field in which the scans will be performed.
diagScanSegmentsAvl.Diagnostic<System.Collections.Generic.List<Avl.Segment2D>>Array of scan segments.

See also