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

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
inPointsSystem.Collections.Generic.List<Avl.Point2D>Points to calculate a grid.
inMinDistanceAtl.Optional<float><0.0f, INF>Minimum distance between two rows or two columns in pixels. Default value: atl::NIL.
inMaxDistanceAtl.Optional<float><0.0f, INF>Maximum distance between two rows or two columns in pixels. Default value: atl::NIL.
inAngleTolerancefloat<0.0f, 90.0f>10.0fMaximum deviation from right angles in the grid. Default value: 10.0f.
outImageGridSystem.Collections.Generic.List<Avl.AnnotatedPoint2D>Detected grid.
diagValidSubgraphAvl.Diagnostic<System.Collections.Generic.List<Avl.Segment2D>>Graph forming a valid grid.

See also