C# Class Sharpex2D.Math.PolygonContainer

ファイルを表示 Open project: ThuCommix/Sharpex2D Class Usage Examples

Public Methods

Method 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 method

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

Intersects() public method

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

Intersects() public method

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

IntersectsWith() public method

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.
return bool

IntersectsWith() public method

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.
return bool

PolygonContainer() public method

Initializes a new PolygonContainer class.
public PolygonContainer ( ) : System.Collections.Generic
return System.Collections.Generic

Remove() public method

Removes a Polygon.
public Remove ( int index ) : void
index int The Index.
return void