C# Класс 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.
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
back int
bottom int
front int
left int
right int
top int

Открытые методы

Метод Описание
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

Описание методов

BasicBox() публичный метод

Parameterless constructor for setting the members manually
public BasicBox ( ) : System
Результат System

BasicBox() публичный метод

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
Результат System

BasicBox() публичный метод

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
Результат System

Contains() публичный метод

Return true if the other box is a part of this one
public Contains ( BasicBox def ) : bool
def BasicBox
Результат bool

CopyFromBasicBox() публичный метод

public CopyFromBasicBox ( BasicBox src ) : void
src BasicBox
Результат void

Описание свойств

back защищенное свойство

protected int back
Результат int

bottom защищенное свойство

protected int bottom
Результат int

front защищенное свойство

protected int front
Результат int

left защищенное свойство

protected int left
Результат int

right защищенное свойство

protected int right
Результат int

top защищенное свойство

protected int top
Результат int