You are here: Start » AVL.NET » Invoke.AnnotateGridPoints
Select a subset of the given points that forms a grid and assign 2D indices to them.
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void AnnotateGridPoints ( List<Avl.Point2D> inPoints, Optional<float> inMinDistance, Optional<float> inMaxDistance, float inAngleTolerance, List<Avl.AnnotatedPoint2D> outImageGrid, Diagnostic<List<Avl.Segment2D>> diagValidSubgraph )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inPoints | System.Collections.Generic.List<Avl.Point2D> | Points to calculate a grid. | ||
![]() | inMinDistance | Atl.Optional<float> | <0.0f, INF> | Minimum distance between two rows or two columns in pixels. Default value: atl::NIL. | |
![]() | inMaxDistance | Atl.Optional<float> | <0.0f, INF> | Maximum distance between two rows or two columns in pixels. Default value: atl::NIL. | |
![]() | inAngleTolerance | float | <0.0f, 90.0f> | 10.0f | Maximum deviation from right angles in the grid. Default value: 10.0f. |
![]() | outImageGrid | System.Collections.Generic.List<Avl.AnnotatedPoint2D> | Detected grid. | ||
![]() | diagValidSubgraph | Avl.Diagnostic<System.Collections.Generic.List<Avl.Segment2D>> | Graph forming a valid grid. |