You are here:
Start »
AVL.NET »
AVL.MeasureObjectWidth3D Method
AVL.MeasureObjectWidth3D Method
Measures the width of an object using stripe detection.
| Namespace: | AvlNet |
| Assembly: | AVL.NET.dll |
Syntax
public static void MeasureObjectWidth3D(
AvlNet.Surface inSurface,
AvlNet.ScanMap[] inMeasurementMap,
AvlNet.StripeScanParams3D inStripeScanParams,
AvlNet.MeasureObjectMethod inMeasureMethod,
AvlNet.Selection inStripeSelection,
AvlNet.LocalBlindness? inLocalBlindness,
int? inMaxInterpolationLength,
AvlNet.MEstimator? inOutlierSuppression,
int inOutlierCount,
out float? outObjectWidth,
out AvlNet.Segment2D? outSegment1,
out AvlNet.Segment2D? outSegment2
)
Parameters
|
Name |
Type |
Range |
Default |
Description |
 | inSurface | AvlNet.Surface | | | Input surface. |
 | inMeasurementMap | AvlNet.ScanMap | | | Input measurement map. |
 | inStripeScanParams | AvlNet.StripeScanParams3D | | | Parameters controlling the object stripe extraction process. |
 | inMeasureMethod | AvlNet.MeasureObjectMethod | | | Method used to measure the object. |
 | inStripeSelection | AvlNet.Selection | | avl::Selection::Best | Selection mode of edges of the object. Default value: avl::Selection::Best. |
 | inLocalBlindness | AvlNet.LocalBlindness? | | | Defines conditions in which weaker edges can be detected in the vicinity of stronger edges. Default value: atl::NIL, or null. |
 | inMaxInterpolationLength | int? | <0, INF> | | Maximal number of consecutive not existing profile points. Default value: atl::NIL, or null. |
 | inOutlierSuppression | AvlNet.MEstimator? | | | Selects a method for ignoring incorrectly detected points. Default value: atl::NIL, or null. |
 | inOutlierCount | int | <0, INF> | | Determines how many outlying points are rejected before the width is measured. |
 | outObjectWidth | float? | | | Width of the object. |
 | outSegment1 | AvlNet.Segment2D? | | | First edge of the object. |
 | outSegment2 | AvlNet.Segment2D? | | | Second edge of the object. |
Errors
| Error type |
Description |
| DomainError |
Invalid MeasurementMap in MeasureObjectWidth3D function. Use CreateSurfaceMeasurementMap function to create it properly. |
See also
- MeasureObjectWidth3D(AvlNet.Surface, AvlNet.ScanMap[], AvlNet.StripeScanParams3D, AvlNet.MeasureObjectMethod, AvlNet.Selection, int, float?, AvlNet.Segment2D?, AvlNet.Segment2D?)
- MeasureObjectWidth3D(AvlNet.Surface, AvlNet.ScanMap[], AvlNet.StripeScanParams3D, AvlNet.MeasureObjectMethod, AvlNet.Selection, int, float?, AvlNet.Segment2D?, AvlNet.Segment2D?, AvlNet.Point3D[], AvlNet.Point3D[])
- MeasureObjectWidth3D(AvlNet.Surface, AvlNet.ScanMap[], AvlNet.StripeScanParams3D, AvlNet.MeasureObjectMethod, AvlNet.Selection, AvlNet.LocalBlindness?, int?, AvlNet.MEstimator?, int, float?, AvlNet.Segment2D?, AvlNet.Segment2D?, AvlNet.Point3D[], AvlNet.Point3D[])
- Class Reference
- AVL Class