IPackageSpecificsD Methods

Methods

AddEllipsePin(PointD, Double, String) Add an round pin to the package definition.
AddEllipsePin(PointD, Single, String) Add an round pin to the package definition.
AddOutline(InterfacePolyClass) Defined the body of the package as InterfacePolyClass (definition as lines and arc edges) and add it to existing outline.
AddOutline(InterfaceSurfaceSpecificsD) Defined the body of the package as InterfaceSurfaceSpecifics and add it to current body.
AddOutline(IPolyClass) Defined the body of the package as IPolyClass (definition as lines and arc edges) and add it to existing outline.
AddOutline(ISurfaceSpecificsD) Defined the body of the package as ISurfaceSpecifics and add it to current body.
AddPKGProperty Add package property to package.
AddPolygonPin(InterfacePolyClass, String) After creating a polyon pin surface, add it with this method.
AddPolygonPin(InterfaceSurfaceSpecificsD, String) After creating a polyon pin surface, add it with this method.
AddPolygonPin(IPolyClass, String) After creating a polyon pin surface, add it with this method. The pin center will be set to the mid point of the polygon. Outline must be a single isle without holes.
AddPolygonPin(ISurfaceSpecificsD, String) After creating a polyon pin surface, add it with this method. The pin center will be set to the mid point of the polygon. Outline must be a single isle without holes.
AddRectanglePin Add an rectangle pin to the package. The pin is setted on the middle of the rectangle.
CalculatePitch Calculate pitch for this geometry.
Clone Clone this object with all members and properties.
(Overrides IObjectSpecificsDClone)
CreatePolygonPinSurface To use AddPolygonPin you need a surface to work.
CreatePolygonPinSurfaceD To use AddPolygonPin you need a surface to work.
Draw 
Equals Override the standard equals method to find internal objects correct. Detailled comparison, including names+properties
(Overrides ObjectEquals(Object))
GetAreaOutline Gets the Area Polygon of a package null if area does not exist
GetBodyBounds Bounds of the package outline without Pins
GetBounds Bounds of the package outline including Pins
GetContourHashCode Gets the hash for the contour (Body+Pins) without any names/properties
GetCorrectionAngleToIPCConformity 
GetGeometryPinList Get a list of all pin for this package.
GetODBDefinition Returns the ODB++ definition of the body/pin-Outline(s) of the package (without the "PKG ..." Line)
GetPackageImage(Int32, Int32, Color, Color, Color, Color, Color, Double) Get image of package width specific size and colors.
GetPackageImage(Int32, Int32, Color, Color, Color, Color, Color, RectangleD, Double) Get image of package width specific size and colors.
GetPackageImage(Int32, Int32, Color, Color, Color, Color, Color, RectangleD, Double, MatrixD, Int32, Int32) Get image of package width specific size and colors.
GetPackageSurfaceSpecificsD Create a surface from the outline of the package.
GetPinPolys Create a list of pins in this package.
GetPolygonOutlineWithoutPins Creates outline as IPolyClass.
GetSimplePolygonOutlineWithoutPins Creates outline as IPolyClass without extra elements (only main body or biggest closed part).
MirrorX Mirror package in X direction.
MirrorY Mirror package in Y direction.
RemovePinList Remove all pins of this package and clear outline polygon. Be carefull with this method, all old pin information are lost after "RemovePinList".
ReplaceAttributesAndPropertiesWith 
ReplaceOutlineAndPinsWith 
ReplacePinContour(Int32, InterfacePolyClass, String) Replace a pin of this package by new pin definition as IPolyClass.
ReplacePinContour(Int32, IPolyClass, String) Replace a pin of this package by new pin definition as IPolyClass.
ReplacePinEllipse Replace exiting pin on pin position "PinNumber", with ellipse pin definition.
ReplacePinRectangle Replace existing pin with an rectangle pin definition.
RotatePackage Rotate complete package in degrees counter clock wise (math positive direction).
SetOutline(InterfacePolyClass) Defined the body of the package as InterfacePolyClass (definition as lines and arc edges).
SetOutline(InterfaceSurfaceSpecificsD) Defined the body of the package as InterfaceSurfaceSpecifics.
SetOutline(IPolyClass) Defined the body of the package as IPolyClass (definition as lines and arc edges).
SetOutline(ISurfaceSpecificsD) Defined the body of the package as ISurfaceSpecifics.
UpdateBounds Recalculate Bounds for this package.

Extension Methods

CreateGuid
(Defined by GUIDExtensions)
GetAlignmentMatrix Returns the best possible matrix to align the MPN package to the CAD package
(Defined by Extensions)
GetAlignmentMatrix Returns the best possible matrix to align the MPN package to the CAD package
(Defined by Extensions)
GetAlignmentMatrix Returns the best possible matrix to align the MPN package to the CAD package
(Defined by Extensions)
GetAlignmentMatrixOld Returns the matrix to align the MPN package to the CAD package (old Version, do not use any more, only for compatibility)
(Defined by Extensions)
GetCorrectionAngleToIPCConformity compare the package by pin positions with IPC rules (pin1 left up)
(Defined by Extensions)
GetGuid
(Defined by GUIDExtensions)
GetPropValue
(Defined by ExtensionsMethods)

See Also