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
(
	AvlNet.Point2D[] inPoints,
	float inScale,
	float inMaxDistance,
	float inAngleTolerance,
	out AvlNet.Point3D[] outPoints3D,
	out AvlNet.Point2D[] outSelectedPoints
)

Parameters

Name Type Range Default Description
inPointsAvlNet.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.
outPoints3DAvlNet.Point3D[]Calculated points in the world units.
outSelectedPointsAvlNet.Point2D[]Which points were selected to calculate the grid.

See also