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 ( IList<AvlNet.Point2D> inPoints, float inScale, float? inMinDistance, float inMaxDistance, float inAngleTolerance, IList<AvlNet.Point2D> outWorldPlanePoints, IList<AvlNet.Point2D> outSelectedImagePoints, IList<AvlNet.Segment2D> diagValidSubgraph )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inPoints | System.Collections.Generic.IList<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. | ||
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. | |
outWorldPlanePoints | System.Collections.Generic.IList<AvlNet.Point2D> | Calculated points in the world units. | |||
outSelectedImagePoints | System.Collections.Generic.IList<AvlNet.Point2D> | Which points were selected to calculate the grid. | |||
diagValidSubgraph | System.Collections.Generic.IList<AvlNet.Segment2D> | Graph forming a valid grid. |
Function Overrides
- AnnotateGridPoints(IList<Point2D>, Single, Single, Single, IList<Point2D>, IList<Point2D>)
- AnnotateGridPoints(IList<Point2D>, Single, Single, Single, IList<Point2D>, IList<Point2D>, IList<Segment2D>)
- AnnotateGridPoints(IList<Point2D>, Single, Nullable<Single>, Single, Single, IList<Point2D>, IList<Point2D>)