ISurfaceSpecificsDIsCurrentElementClosed Method
While there is an element under construction, you can check the end and startpoint are the same.
Namespace: PCBI.AutomationAssembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
public bool IsCurrentElementClosed(
double withTolerance = 0
)
Public Function IsCurrentElementClosed (
Optional withTolerance As Double = 0
) As Boolean
public:
bool IsCurrentElementClosed(
double withTolerance = 0
)
member IsCurrentElementClosed :
?withTolerance : float
(* Defaults:
let _withTolerance = defaultArg withTolerance 0
*)
-> bool
- withTolerance Double (Optional)
- Exactly or nearly the same point check.
BooleanTrue if you should call EndPolygon() method!