C# Class VectorMath.RectangleD

显示文件 Open project: zlynn1990/SpaceSim Class Usage Examples

Public Methods

Method Description
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 )

Private Methods

Method Description
ComputeProperties ( ) : void

Method Details

Clone() public method

public Clone ( ) : RectangleD
return RectangleD

Contains() public method

public Contains ( DVector2 other ) : bool
other DVector2
return bool

Inflate() public method

public Inflate ( double x, double y ) : void
x double
y double
return void

IntersectsWith() public method

public IntersectsWith ( RectangleD other ) : bool
other RectangleD
return bool

RectangleD() public method

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