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

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 inMaxDistance,
	float inAngleTolerance,
	IList<AvlNet.Point2D> outWorldPlanePoints,
	IList<AvlNet.Point2D> outSelectedImagePoints,
	IList<AvlNet.Segment2D> diagValidSubgraph
)

Parameters

Name Type Range Default Description
inPointsSystem.Collections.Generic.IList<AvlNet.Point2D>Points to calculate a grid.
inScalefloat<0.001f, INF>1.0fDistance between two rows or two columns of the grid in world units. Default value: 1.0f.
inMaxDistancefloat<0.0f, INF>10.0fMaximum distance between two rows or two columns in pixels. Default value: 10.0f.
inAngleTolerancefloat<0.0f, 90.0f>10.0fMaximum deviation from right angles in the grid. Default value: 10.0f.
outWorldPlanePointsSystem.Collections.Generic.IList<AvlNet.Point2D>Calculated points in the world units.
outSelectedImagePointsSystem.Collections.Generic.IList<AvlNet.Point2D>Which points were selected to calculate the grid.
diagValidSubgraphSystem.Collections.Generic.IList<AvlNet.Segment2D>Graph forming a valid grid.

Function Overrides

See also