IPolyClassDifference Method

Calculates the difference between this and a second polygon. It modifies this and returns the reference to this.

Definition

Namespace: PCBI.MathUtils
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public IPolyClass Difference(
	IPolyClass SecondPoly
)

Parameters

SecondPoly  IPolyClass
The second polygon to calculate the difference. Must be CCW! Poly can be changed, so use a Clone if important!

Return Value

IPolyClass
This polygon with modifications. The result is no new polygon, just modification of this! SecondPoly might also be changed! Result polygon might contain references to edges of both polygons!

Implements

InterfacePolyClassDifference(IPolyClass)

See Also