Survivalcraft API 1.8.2.3 v1.8.2.3
Survivalcraft 2.4
载入中...
搜索中...
未找到
Engine.BoundingBox
类 Engine.BoundingBox 继承关系图:
Engine.BoundingBox 的协作图:

Public 成员函数

 BoundingBox (float x1, float y1, float z1, float x2, float y2, float z2)
 BoundingBox (Vector3 min, Vector3 max)
 BoundingBox (IEnumerable< Vector3 > points)
override bool Equals (object obj)
override int GetHashCode ()
override string ToString ()
bool Equals (BoundingBox other)
Vector3 Center ()
Vector3 Size ()
float Volume ()
bool Contains (Vector3 p)
bool Intersection (BoundingBox box)
bool Intersection (BoundingSphere sphere)

静态 Public 成员函数

static implicit operator BoundingBox ((float X1, float Y1, float Z1, float X2, float Y2, float Z2) v)
static BoundingBox Intersection (BoundingBox b1, BoundingBox b2)
static BoundingBox Union (BoundingBox b1, BoundingBox b2)
static BoundingBox Union (BoundingBox b, Vector3 p)
static float Distance (BoundingBox b, Vector3 p)
static BoundingBox Transform (BoundingBox b, Matrix m)
static void Transform (ref BoundingBox b, ref Matrix m, out BoundingBox result)
static bool operator== (BoundingBox a, BoundingBox b)
static bool operator!= (BoundingBox a, BoundingBox b)

Public 属性

Vector3 Min
Vector3 Max

属性

IEnumerable< Vector3Corners [get]

详细描述

在文件 BoundingBox.cs2 行定义.

构造及析构函数说明

◆ BoundingBox() [1/3]

Engine.BoundingBox.BoundingBox ( float x1,
float y1,
float z1,
float x2,
float y2,
float z2 )

在文件 BoundingBox.cs20 行定义.

这是这个函数的调用关系图:

◆ BoundingBox() [2/3]

Engine.BoundingBox.BoundingBox ( Vector3 min,
Vector3 max )

在文件 BoundingBox.cs25 行定义.

◆ BoundingBox() [3/3]

Engine.BoundingBox.BoundingBox ( IEnumerable< Vector3 > points)

在文件 BoundingBox.cs30 行定义.

成员函数说明

◆ Center()

Vector3 Engine.BoundingBox.Center ( )

在文件 BoundingBox.cs58 行定义.

这是这个函数的调用关系图:

◆ Contains()

bool Engine.BoundingBox.Contains ( Vector3 p)

在文件 BoundingBox.cs67 行定义.

◆ Distance()

float Engine.BoundingBox.Distance ( BoundingBox b,
Vector3 p )
static

在文件 BoundingBox.cs125 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ Equals() [1/2]

bool Engine.BoundingBox.Equals ( BoundingBox other)

在文件 BoundingBox.cs56 行定义.

函数调用图:

◆ Equals() [2/2]

override bool Engine.BoundingBox.Equals ( object obj)

在文件 BoundingBox.cs50 行定义.

函数调用图:

◆ GetHashCode()

override int Engine.BoundingBox.GetHashCode ( )

在文件 BoundingBox.cs52 行定义.

◆ Intersection() [1/3]

BoundingBox Engine.BoundingBox.Intersection ( BoundingBox b1,
BoundingBox b2 )
static

在文件 BoundingBox.cs107 行定义.

函数调用图:

◆ Intersection() [2/3]

bool Engine.BoundingBox.Intersection ( BoundingBox box)

在文件 BoundingBox.cs69 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ Intersection() [3/3]

bool Engine.BoundingBox.Intersection ( BoundingSphere sphere)

在文件 BoundingBox.cs76 行定义.

◆ operator BoundingBox()

implicit Engine.BoundingBox.operator BoundingBox ( (float X1, float Y1, float Z1, float X2, float Y2, float Z2) v)
static

在文件 BoundingBox.cs47 行定义.

◆ operator!=()

bool Engine.BoundingBox.operator!= ( BoundingBox a,
BoundingBox b )
static

在文件 BoundingBox.cs155 行定义.

函数调用图:

◆ operator==()

bool Engine.BoundingBox.operator== ( BoundingBox a,
BoundingBox b )
static

在文件 BoundingBox.cs153 行定义.

函数调用图:

◆ Size()

Vector3 Engine.BoundingBox.Size ( )

在文件 BoundingBox.cs60 行定义.

这是这个函数的调用关系图:

◆ ToString()

override string Engine.BoundingBox.ToString ( )

在文件 BoundingBox.cs54 行定义.

◆ Transform() [1/2]

BoundingBox Engine.BoundingBox.Transform ( BoundingBox b,
Matrix m )
static

在文件 BoundingBox.cs132 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ Transform() [2/2]

void Engine.BoundingBox.Transform ( ref BoundingBox b,
ref Matrix m,
out BoundingBox result )
static

在文件 BoundingBox.cs137 行定义.

函数调用图:

◆ Union() [1/2]

BoundingBox Engine.BoundingBox.Union ( BoundingBox b,
Vector3 p )
static

在文件 BoundingBox.cs119 行定义.

函数调用图:

◆ Union() [2/2]

BoundingBox Engine.BoundingBox.Union ( BoundingBox b1,
BoundingBox b2 )
static

在文件 BoundingBox.cs113 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ Volume()

float Engine.BoundingBox.Volume ( )

在文件 BoundingBox.cs62 行定义.

函数调用图:
这是这个函数的调用关系图:

类成员变量说明

◆ Max

Vector3 Engine.BoundingBox.Max

在文件 BoundingBox.cs5 行定义.

◆ Min

Vector3 Engine.BoundingBox.Min

在文件 BoundingBox.cs3 行定义.

属性说明

◆ Corners

IEnumerable<Vector3> Engine.BoundingBox.Corners
get

在文件 BoundingBox.cs7 行定义.


该结构体的文档由以下文件生成: