C# 클래스 CatEye.Core.ConvexPolygon

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

공개 메소드들

메소드 설명
BoundingBoxesAreCrossed ( ConvexPolygon p1, ConvexPolygon p2 ) : bool
CalcProjectionToPixel ( int i, int j, double quality ) : double
Contains ( Point p ) : bool
ConvexPolygon ( Point points ) : System
GetArea ( ) : double
HasCrossing ( Point crossing, Segment &mySide, Segment &other ) : bool
IndexOfSide ( Segment side ) : int
IndexOfSideWithAEnd ( Point A ) : int
IndexOfSideWithBEnd ( Point B ) : int

메소드 상세

BoundingBoxesAreCrossed() 공개 정적인 메소드

public static BoundingBoxesAreCrossed ( ConvexPolygon p1, ConvexPolygon p2 ) : bool
p1 ConvexPolygon
p2 ConvexPolygon
리턴 bool

CalcProjectionToPixel() 공개 메소드

public CalcProjectionToPixel ( int i, int j, double quality ) : double
i int
j int
quality double
리턴 double

Contains() 공개 메소드

public Contains ( Point p ) : bool
p Point
리턴 bool

ConvexPolygon() 공개 메소드

public ConvexPolygon ( Point points ) : System
points Point
리턴 System

GetArea() 공개 메소드

public GetArea ( ) : double
리턴 double

HasCrossing() 공개 메소드

public HasCrossing ( Point crossing, Segment &mySide, Segment &other ) : bool
crossing Point
mySide Segment
other Segment
리턴 bool

IndexOfSide() 공개 메소드

public IndexOfSide ( Segment side ) : int
side Segment
리턴 int

IndexOfSideWithAEnd() 공개 메소드

public IndexOfSideWithAEnd ( Point A ) : int
A Point
리턴 int

IndexOfSideWithBEnd() 공개 메소드

public IndexOfSideWithBEnd ( Point B ) : int
B Point
리턴 int