C# Class VectorMath.RectangleD

Afficher le fichier Open project: zlynn1990/SpaceSim Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
ComputeProperties ( ) : void

Method Details

Clone() public méthode

public Clone ( ) : RectangleD
Résultat RectangleD

Contains() public méthode

public Contains ( DVector2 other ) : bool
other DVector2
Résultat bool

Inflate() public méthode

public Inflate ( double x, double y ) : void
x double
y double
Résultat void

IntersectsWith() public méthode

public IntersectsWith ( RectangleD other ) : bool
other RectangleD
Résultat bool

RectangleD() public méthode

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