ISurfaceSpecificsDAddHole Method
Add an IPolyCalss as hole to the surface, be carefull there are no intersectings with isles or other holes.
Namespace: PCBI.AutomationAssembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
public bool AddHole(
IPolyClass PolyHoleWithoutIsles,
bool CheckDirecton = false
)
Public Function AddHole (
PolyHoleWithoutIsles As IPolyClass,
Optional CheckDirecton As Boolean = false
) As Boolean
public:
bool AddHole(
IPolyClass^ PolyHoleWithoutIsles,
bool CheckDirecton = false
)
member AddHole :
PolyHoleWithoutIsles : IPolyClass *
?CheckDirecton : bool
(* Defaults:
let _CheckDirecton = defaultArg CheckDirecton false
*)
-> bool
- PolyHoleWithoutIsles IPolyClass
- Polygon of the hole, all holes have to be counter clockwise.
- CheckDirecton Boolean (Optional)
- Make direction check and reverse wrong polygons.
BooleanFalse if an error happen.