CADability dotNET
Constructs a modification, that transforms the src vectors to the dst vectors. The length of src and dst must be 2. The resulting modification is any kind of an affinity, that projects the src vectors to the dst vectors. The origin (0,0) remains fixed.

Namespace: CADability
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)

Syntax

C#
public static ModOp2D Fit(
	GeoVector2D[] src,
	GeoVector2D[] dst
)
Visual Basic
Public Shared Function Fit ( _
	src As GeoVector2D(), _
	dst As GeoVector2D() _
) As ModOp2D
Visual C++
public:
static ModOp2D Fit(
	array<GeoVector2D>^ src, 
	array<GeoVector2D>^ dst
)

Parameters

src
Type: array<CADability..::..GeoVector2D>[]()[][]
source vectors
dst
Type: array<CADability..::..GeoVector2D>[]()[][]
destination vectors

Return Value

resulting transformation

See Also