ISurfaceSpecificsDAddHole Method

Add an IPolyCalss as hole to the surface, be carefull there are no intersectings with isles or other holes.

Definition

Namespace: PCBI.Automation
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public bool AddHole(
	IPolyClass PolyHoleWithoutIsles,
	bool CheckDirecton = false
)

Parameters

PolyHoleWithoutIsles  IPolyClass
Polygon of the hole, all holes have to be counter clockwise.
CheckDirecton  Boolean  (Optional)
Make direction check and reverse wrong polygons.

Return Value

Boolean
False if an error happen.

See Also