C# 클래스 VectorMath.RectangleD

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

공개 메소드들

메소드 설명
Clone ( ) : RectangleD
Contains ( DVector2 other ) : bool
Inflate ( double x, double y ) : void
IntersectsWith ( RectangleD other ) : bool
RectangleD ( double x, double y, double width, double height )

비공개 메소드들

메소드 설명
ComputeProperties ( ) : void

메소드 상세

Clone() 공개 메소드

public Clone ( ) : RectangleD
리턴 RectangleD

Contains() 공개 메소드

public Contains ( DVector2 other ) : bool
other DVector2
리턴 bool

Inflate() 공개 메소드

public Inflate ( double x, double y ) : void
x double
y double
리턴 void

IntersectsWith() 공개 메소드

public IntersectsWith ( RectangleD other ) : bool
other RectangleD
리턴 bool

RectangleD() 공개 메소드

public RectangleD ( double x, double y, double width, double height )
x double
y double
width double
height double