You are here: Start » AVL.NET » AVL.AnnotateGridPoints Method
AVL.AnnotateGridPoints Method
Select a subset of the given points that forms a grid and assign world plane coordinates to them.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void AnnotateGridPoints( AvlNet.Point2D[] inPoints, float inScale, float inMaxDistance, float inAngleTolerance, out AvlNet.Point3D[] outPoints3D, out AvlNet.Point2D[] outSelectedPoints, out AvlNet.Segment2D[] diagValidSubgraph )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inPoints | AvlNet.Point2D | Points to calculate a grid. | |||
inScale | float | <0.001f, INF> | 1.0f | Distance between two rows or two columns of the grid in world units. Default value: 1.0f. | |
inMaxDistance | float | <0.0f, INF> | 10.0f | Maximum distance between two rows or two columns in pixels. Default value: 10.0f. | |
inAngleTolerance | float | <0.0f, 90.0f> | 10.0f | Maximum deviation from right angles in the grid. Default value: 10.0f. | |
outPoints3D | AvlNet.Point3D | Calculated points in the world units. | |||
outSelectedPoints | AvlNet.Point2D | Which points were selected to calculate the grid. | |||
diagValidSubgraph | AvlNet.Segment2D | Graph forming a valid grid. |