C# Class Vertesaur.PolygonOperation.PolygonDifferenceOperation

An operation that will find the geometric difference of one polygon from another.
Exibir arquivo Open project: aarondandy/vertesaur Class Usage Examples

Public Methods

Method Description
Difference ( Polygon2 a, Polygon2 b ) : IPlanarGeometry

Calculates the resulting difference of polygon b subtracted from polygon a.

Private Methods

Method Description
CodeContractInvariants ( ) : void
PolygonDifferenceOperation ( ) : System.Diagnostics.Contracts
PolygonDifferenceOperation ( PolygonIntersectionOperation inverseRightOperation ) : System.Diagnostics.Contracts

Method Details

Difference() public method

Calculates the resulting difference of polygon b subtracted from polygon a.
public Difference ( Polygon2 a, Polygon2 b ) : IPlanarGeometry
a Polygon2 The polygon to be subtracted from.
b Polygon2 The polygon used to subtract from a.
return IPlanarGeometry