ExtensionsGetAlignmentMatrix(IPackageSpecificsD, IPackageSpecificsD, Int32, Int32, Boolean) Method
Returns the best possible matrix to align the MPN package to the CAD package
Namespace: PCBI.AutomationAssembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
public static MatrixD GetAlignmentMatrix(
this IPackageSpecificsD this,
IPackageSpecificsD mpnPack,
int cadPolPin,
int mpnPolPin,
bool usePins4Center
)
<ExtensionAttribute>
Public Shared Function GetAlignmentMatrix (
this As IPackageSpecificsD,
mpnPack As IPackageSpecificsD,
cadPolPin As Integer,
mpnPolPin As Integer,
usePins4Center As Boolean
) As MatrixD
public:
[ExtensionAttribute]
static MatrixD^ GetAlignmentMatrix(
IPackageSpecificsD^ this,
IPackageSpecificsD^ mpnPack,
int cadPolPin,
int mpnPolPin,
bool usePins4Center
)
[<ExtensionAttribute>]
static member GetAlignmentMatrix :
this : IPackageSpecificsD *
mpnPack : IPackageSpecificsD *
cadPolPin : int *
mpnPolPin : int *
usePins4Center : bool -> MatrixD
- 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
- usePins4Center Boolean
- Use this's PinBounds or BodyBounds for centering
MatrixDTransformation MatrixIn 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).