C# Class Nexus.Objects2D.Box2D

Afficher le fichier Open project: tgjones/nexus Class Usage Examples

Méthodes publiques

Méthode Description
Box2D ( IntPoint2D min, IntPoint2D max ) : System
Expand ( IntPoint2D point ) : void
Intersection ( Box2D box1, Box2D box2 ) : Box2D
Union ( Box2D box1, Box2D box2 ) : Box2D

Method Details

Box2D() public méthode

public Box2D ( IntPoint2D min, IntPoint2D max ) : System
min IntPoint2D
max IntPoint2D
Résultat System

Expand() public méthode

public Expand ( IntPoint2D point ) : void
point IntPoint2D
Résultat void

Intersection() public static méthode

public static Intersection ( Box2D box1, Box2D box2 ) : Box2D
box1 Box2D
box2 Box2D
Résultat Box2D

Union() public static méthode

public static Union ( Box2D box1, Box2D box2 ) : Box2D
box1 Box2D
box2 Box2D
Résultat Box2D