C# Class GameMath.RectangleIntersection

Afficher le fichier Open project: npruehs/game-math

Méthodes publiques

Méthode Description
Intersects ( this rectangle, CircleF circle ) : bool

Checks whether the specified rectangle intersects the passed circle.

Intersects ( this first, RectangleF second ) : bool

Checks whether the two specified rectangles at least partially intersect each other.

Intersects ( this first, RectangleI second ) : bool

Checks whether the two specified rectangles at least partially intersect each other.

Method Details

Intersects() public static méthode

Checks whether the specified rectangle intersects the passed circle.
public static Intersects ( this rectangle, CircleF circle ) : bool
rectangle this /// Rectangle to check. ///
circle CircleF /// Circle to check. ///
Résultat bool

Intersects() public static méthode

Checks whether the two specified rectangles at least partially intersect each other.
public static Intersects ( this first, RectangleF second ) : bool
first this /// First rectangle to check. ///
second RectangleF /// Second rectangle to check. ///
Résultat bool

Intersects() public static méthode

Checks whether the two specified rectangles at least partially intersect each other.
public static Intersects ( this first, RectangleI second ) : bool
first this /// First rectangle to check. ///
second RectangleI /// Second rectangle to check. ///
Résultat bool