You are here: Start » AVL.NET » AVS.CreateSurfaceMeasurementMap Method

AVS.CreateSurfaceMeasurementMap Method

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void CreateSurfaceMeasurementMap
(
	AvlNet.SurfaceFormat inSurfaceFormat,
	AvlNet.SegmentScanField inScanField,
	AvlNet.CoordinateSystem2D? inScanFieldAlignment,
	int inScanCount,
	float? inSamplingStep,
	int inScanWidth,
	AvlNet.InterpolationMethod inSurfaceInterpolation,
	IList<AvlNet.ScanMap> outMeasurementMap,
	NullableValue<AvlNet.SegmentScanField> outAlignedScanField,
	IList<AvlNet.Segment2D> diagScanSegments
)

Parameters

Name Type Range Default Description
inSurfaceFormatAvlNet.SurfaceFormatInformation about dimensions, depth and pixel type of the surface.
inScanFieldAvlNet.SegmentScanFieldField in which scans will be performed.
inScanFieldAlignmentAvlNet.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.
inSamplingStepfloat?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.
inSurfaceInterpolationAvlNet.InterpolationMethodBilinearInterpolation method used in extraction of image pixel values. Default value: Bilinear.
outMeasurementMapSystem.Collections.Generic.IList<AvlNet.ScanMap>
outAlignedScanFieldAvlNet.NullableValue<AvlNet.SegmentScanField>Field in which the scans will be performed. Can be null to skip this parameter calculation.
diagScanSegmentsSystem.Collections.Generic.IList<AvlNet.Segment2D>Array of scan segments.

Function Overrides

See also