You are here: Start » FIL.NET » Invoke.AdjustPointArrays
Invoke.AdjustPointArrays
Aligns a point array to match best the input point array.
Namespace: | Fil |
---|---|
Assembly: | FilNet.dll |
Syntax
C++
C#
public static void AdjustPointArrays ( List<Fil.Point2D> inPoints, List<Fil.Point2D> inReferencePoints, bool inAllowRotation, bool inAllowScale, int inMaxIterationCount, float inMatchFraction, int inInitialTransformCount, Conditional<List<Fil.Point2D>> outAlignedPoints, Conditional<Fil.CoordinateSystem2D> outAlignment )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inPoints | System.Collections.Generic.List<Fil.Point2D> | Points to be aligned. | ||
![]() | inReferencePoints | System.Collections.Generic.List<Fil.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 | Ftl.Conditional<System.Collections.Generic.List<Fil.Point2D>> | The aligned input points. | ||
![]() | outAlignment | Ftl.Conditional<Fil.CoordinateSystem2D> | The transform that aligns best the input points. |