You are here: Start » AVL.NET » AVL.AnnotateGridPoints(AvlNet.Point2D[], float, float, float, AvlNet.Point3D[], AvlNet.Point2D[], AvlNet.Segment2D[])

AVL.AnnotateGridPoints(AvlNet.Point2D[], float, float, float, AvlNet.Point3D[], AvlNet.Point2D[], AvlNet.Segment2D[])

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

inPoints
Type: AvlNet.Point2D
Points to calculate a grid
inScale
Type: System.Single
Distance between two rows or two columns of the grid in world units
inMaxDistance
Type: System.Single
Maximum distance between two rows or two columns in pixels
inAngleTolerance
Type: System.Single
Maximum deviation from right angles in the grid
outPoints3D
Type: AvlNet.Point3D
Calculated points in the world units
outSelectedPoints
Type: AvlNet.Point2D
Which points were selected to calculate the grid
diagValidSubgraph
Type: AvlNet.Segment2D
Graph forming a valid grid

See also