ExtensionsGetAlignmentMatrix(IPackageSpecificsD, IPackageSpecificsD, Int32, Int32) Method

Returns the best possible matrix to align the MPN package to the CAD package

Definition

Namespace: PCBI.Automation
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public static MatrixD GetAlignmentMatrix(
	this IPackageSpecificsD this,
	IPackageSpecificsD mpnPack,
	int cadPolPin,
	int mpnPolPin
)

Parameters

this  IPackageSpecificsD
CAD Package
mpnPack  IPackageSpecificsD
MPN Package
cadPolPin  Int32
Polarity Pin Index (1-based) in the CAD Package
mpnPolPin  Int32
Polarity Pin Index (1-based) in the MPN Package

Return Value

MatrixD
Transformation Matrix

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IPackageSpecificsD. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also