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.
파일 보기 프로젝트 열기: WolfgangSt/axiom 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
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