ExtensionsGetAlignmentMatrix(IPackageSpecificsD, IPackageSpecificsD, Int32, Int32, IPolyClass, AlignmentMatrixMidpoint) 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,
IPolyClass polMarkerPolyOrNull,
AlignmentMatrixMidpoint midpoint
)
<ExtensionAttribute>
Public Shared Function GetAlignmentMatrix (
this As IPackageSpecificsD,
mpnPack As IPackageSpecificsD,
cadPolPin As Integer,
mpnPolPin As Integer,
polMarkerPolyOrNull As IPolyClass,
midpoint As AlignmentMatrixMidpoint
) As MatrixD
public:
[ExtensionAttribute]
static MatrixD^ GetAlignmentMatrix(
IPackageSpecificsD^ this,
IPackageSpecificsD^ mpnPack,
int cadPolPin,
int mpnPolPin,
IPolyClass^ polMarkerPolyOrNull,
AlignmentMatrixMidpoint midpoint
)
[<ExtensionAttribute>]
static member GetAlignmentMatrix :
this : IPackageSpecificsD *
mpnPack : IPackageSpecificsD *
cadPolPin : int *
mpnPolPin : int *
polMarkerPolyOrNull : IPolyClass *
midpoint : AlignmentMatrixMidpoint -> 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
- polMarkerPolyOrNull IPolyClass
- Polarity Marker Poly (may be used if mpnPolPin=-1)
- midpoint AlignmentMatrixMidpoint
- Use this's PinBounds, BodyBounds or FullBounds 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).