C# Класс Sharpex2D.Math.PolygonContainer

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

Add() публичный Метод

Adds a new Polygon.
public Add ( int index, Polygon polygon ) : void
index int The Index.
polygon Polygon The Polygon.
Результат void

Intersects() публичный Метод

A value indicating whether the Polygon intersects with the PolygonContainer.
public Intersects ( Polygon polygon ) : bool
polygon Polygon The Polygon.
Результат bool

Intersects() публичный Метод

A value indicating whether the PolygonContainer intersects with this PolygonContainer.
public Intersects ( PolygonContainer polygonContainer ) : bool
polygonContainer PolygonContainer The PolygonContainer.
Результат bool

IntersectsWith() публичный Метод

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.
Результат bool

IntersectsWith() публичный Метод

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.
Результат bool

PolygonContainer() публичный Метод

Initializes a new PolygonContainer class.
public PolygonContainer ( ) : System.Collections.Generic
Результат System.Collections.Generic

Remove() публичный Метод

Removes a Polygon.
public Remove ( int index ) : void
index int The Index.
Результат void