C# 클래스 Sharpex2D.Math.PolygonContainer

파일 보기 프로젝트 열기: ThuCommix/Sharpex2D 1 사용 예제들

공개 메소드들

메소드 설명
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