C# Class Vertesaur.PolygonOperation.PolygonDifferenceOperation

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

Méthodes publiques

Méthode Description
Difference ( Polygon2 a, Polygon2 b ) : IPlanarGeometry

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

Private Methods

Méthode Description
CodeContractInvariants ( ) : void
PolygonDifferenceOperation ( ) : System.Diagnostics.Contracts
PolygonDifferenceOperation ( PolygonIntersectionOperation inverseRightOperation ) : System.Diagnostics.Contracts

Method Details

Difference() public méthode

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.
Résultat IPlanarGeometry