C# Class Axiom.Media.BasicBox

Structure used to define a box in a 3-D integer space. Note that the left, top, and front edges are included but the right, bottom and top ones are not.
Afficher le fichier Open project: WolfgangSt/axiom Class Usage Examples

Protected Properties

Свойство Type Description
back int
bottom int
front int
left int
right int
top int

Méthodes publiques

Méthode Description
BasicBox ( ) : System

Parameterless constructor for setting the members manually

BasicBox ( int left, int top, int right, int bottom ) : System

Define a box from left, top, right and bottom coordinates This box will have depth one (front=0 and back=1).

Note that the left, top, and front edges are included but the right, bottom and top ones are not.

BasicBox ( int left, int top, int front, int right, int bottom, int back ) : System

Define a box from left, top, front, right, bottom and back coordinates.

Note that the left, top, and front edges are included but the right, bottom and back ones are not.

Contains ( BasicBox def ) : bool

Return true if the other box is a part of this one

CopyFromBasicBox ( BasicBox src ) : void

Method Details

BasicBox() public méthode

Parameterless constructor for setting the members manually
public BasicBox ( ) : System
Résultat System

BasicBox() public méthode

Define a box from left, top, right and bottom coordinates This box will have depth one (front=0 and back=1).
Note that the left, top, and front edges are included but the right, bottom and top ones are not.
public BasicBox ( int left, int top, int right, int bottom ) : System
left int x value of left edge
top int y value of top edge
right int x value of right edge
bottom int y value of bottom edge
Résultat System

BasicBox() public méthode

Define a box from left, top, front, right, bottom and back coordinates.
Note that the left, top, and front edges are included but the right, bottom and back ones are not.
public BasicBox ( int left, int top, int front, int right, int bottom, int back ) : System
left int x value of left edge
top int y value of top edge
front int z value of front edge
right int x value of right edge
bottom int y value of bottom edge
back int z value of back edge
Résultat System

Contains() public méthode

Return true if the other box is a part of this one
public Contains ( BasicBox def ) : bool
def BasicBox
Résultat bool

CopyFromBasicBox() public méthode

public CopyFromBasicBox ( BasicBox src ) : void
src BasicBox
Résultat void

Property Details

back protected_oe property

protected int back
Résultat int

bottom protected_oe property

protected int bottom
Résultat int

front protected_oe property

protected int front
Résultat int

left protected_oe property

protected int left
Résultat int

right protected_oe property

protected int right
Résultat int

top protected_oe property

protected int top
Résultat int