C# Class Sharpex2D.Math.PolygonContainer

Afficher le fichier Open project: ThuCommix/Sharpex2D Class Usage Examples

Méthodes publiques

Méthode Description
Add ( int index, Polygon polygon ) : void

Adds a new Polygon.

Intersects ( Polygon polygon ) : bool

A value indicating whether the Polygon intersects with the PolygonContainer.

Intersects ( PolygonContainer polygonContainer ) : bool

A value indicating whether the PolygonContainer intersects with this PolygonContainer.

IntersectsWith ( Polygon polygon, int &indices ) : bool

A value indicating whether the Polygon intersects with the PolygonContainer.

IntersectsWith ( PolygonContainer polygonContainer, int &indices ) : bool

A value indicating whether the PolygonContainer intersects with this PolygonContainer.

PolygonContainer ( ) : System.Collections.Generic

Initializes a new PolygonContainer class.

Remove ( int index ) : void

Removes a Polygon.

Method Details

Add() public méthode

Adds a new Polygon.
public Add ( int index, Polygon polygon ) : void
index int The Index.
polygon Polygon The Polygon.
Résultat void

Intersects() public méthode

A value indicating whether the Polygon intersects with the PolygonContainer.
public Intersects ( Polygon polygon ) : bool
polygon Polygon The Polygon.
Résultat bool

Intersects() public méthode

A value indicating whether the PolygonContainer intersects with this PolygonContainer.
public Intersects ( PolygonContainer polygonContainer ) : bool
polygonContainer PolygonContainer The PolygonContainer.
Résultat bool

IntersectsWith() public méthode

A value indicating whether the Polygon intersects with the PolygonContainer.
public IntersectsWith ( Polygon polygon, int &indices ) : bool
polygon Polygon The Polygon.
indices int The Indices which are intersects.
Résultat bool

IntersectsWith() public méthode

A value indicating whether the PolygonContainer intersects with this PolygonContainer.
public IntersectsWith ( PolygonContainer polygonContainer, int &indices ) : bool
polygonContainer PolygonContainer The PolygonContainer.
indices int The Indices which are intersects.
Résultat bool

PolygonContainer() public méthode

Initializes a new PolygonContainer class.
public PolygonContainer ( ) : System.Collections.Generic
Résultat System.Collections.Generic

Remove() public méthode

Removes a Polygon.
public Remove ( int index ) : void
index int The Index.
Résultat void