You are here: Start » AVL.NET » Invoke.AdjustPointArrays
Invoke.AdjustPointArrays
Aligns a point array to match best the input point array.
| Namespace: | Avl | 
|---|---|
| Assembly: | AvlNet.dll | 
Syntax
C++
C#
public static void AdjustPointArrays ( List<Avl.Point2D> inPoints, List<Avl.Point2D> inReferencePoints, bool inAllowRotation, bool inAllowScale, int inMaxIterationCount, float inMatchFraction, int inInitialTransformCount, Conditional<List<Avl.Point2D>> outAlignedPoints, Conditional<Avl.CoordinateSystem2D> outAlignment )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]()  | inPoints | System.Collections.Generic.List<Avl.Point2D> | Points to be aligned. | ||
![]()  | inReferencePoints | System.Collections.Generic.List<Avl.Point2D> | Points to align to. | ||
![]()  | inAllowRotation | bool | True | Flag indicating whether rotation is allowed as a part of output alignment. Default value: True. | |
![]()  | inAllowScale | bool | False | Flag indicating whether scale is allowed as a part of output alignment. Default value: False. | |
![]()  | inMaxIterationCount | int | <1, INF> | 10 | Maximal number of iteration for the algorithm. Default value: 10. | 
![]()  | inMatchFraction | float | <0.0f, 1.0f> | 0.75f | Defines fraction of input points that is being fitted in every iteration. Default value: 0.75f. | 
![]()  | inInitialTransformCount | int | <1, INF> | 10 | Number of initial transforms to be tried out by the algorithm. Default value: 10. | 
![]()  | outAlignedPoints | Atl.Conditional<System.Collections.Generic.List<Avl.Point2D>> | The aligned input points. | ||
![]()  | outAlignment | Atl.Conditional<Avl.CoordinateSystem2D> | The transform that aligns best the input points. | 


