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.
Datei anzeigen Open project: WolfgangSt/axiom Class Usage Examples

Protected Properties

Property Type Description
back int
bottom int
front int
left int
right int
top int

Public Methods

Method 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 method

Parameterless constructor for setting the members manually
public BasicBox ( ) : System
return System

BasicBox() public method

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
return System

BasicBox() public method

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
return System

Contains() public method

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

CopyFromBasicBox() public method

public CopyFromBasicBox ( BasicBox src ) : void
src BasicBox
return void

Property Details

back protected_oe property

protected int back
return int

bottom protected_oe property

protected int bottom
return int

front protected_oe property

protected int front
return int

left protected_oe property

protected int left
return int

right protected_oe property

protected int right
return int

top protected_oe property

protected int top
return int