You are here: Start » AVL.NET » AVL.AnnotateGridPoints
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
C++
C#
public static void AnnotateGridPoints ( AvlNet.Point2D[] inPoints, float inScale, float? inMinDistance, 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. |
![]() | inMinDistance | float? | <0.0f, INF> | Minimum distance between two rows or two columns in pixels. Default value: atl::NIL, or null. | |
![]() | 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. |
See also
- AnnotateGridPoints(AvlNet.Point2D[], float, float, float, AvlNet.Point3D[], AvlNet.Point2D[])
- AnnotateGridPoints(AvlNet.Point2D[], float, float, float, AvlNet.Point3D[], AvlNet.Point2D[], AvlNet.Segment2D[])
- AnnotateGridPoints(AvlNet.Point2D[], float, float?, float, float, AvlNet.Point3D[], AvlNet.Point2D[])
- Class Reference
- AVL Class