载入中...
搜索中...
未找到
eve::spatial::AABB3结构体 参考

#include <Bounds.h>

Public 成员函数

float width () const
 
float height () const
 
float depth () const
 
float centerX () const
 
float centerY () const
 
float centerZ () const
 
bool valid () const
 
bool containsPoint (float x, float y, float z) const
 
bool containsAABB (const AABB3 &o) const
 
bool intersectsAABB (const AABB3 &o) const
 
bool intersectsSphere (float cx, float cy, float cz, float radius) const
 

Public 属性

float minX = 0.f
 
float minY = 0.f
 
float minZ = 0.f
 
float maxX = 0.f
 
float maxY = 0.f
 
float maxZ = 0.f
 

详细描述

在文件 Bounds.h43 行定义.

成员函数说明

◆ centerX()

float eve::spatial::AABB3::centerX ( ) const
inline

在文件 Bounds.h54 行定义.

引用了 maxX , 以及 minX.

◆ centerY()

float eve::spatial::AABB3::centerY ( ) const
inline

在文件 Bounds.h55 行定义.

引用了 maxY , 以及 minY.

◆ centerZ()

float eve::spatial::AABB3::centerZ ( ) const
inline

在文件 Bounds.h56 行定义.

引用了 maxZ , 以及 minZ.

◆ containsAABB()

bool eve::spatial::AABB3::containsAABB ( const AABB3 o) const
inline

在文件 Bounds.h64 行定义.

引用了 maxX, maxY, maxZ, minX, minY , 以及 minZ.

◆ containsPoint()

bool eve::spatial::AABB3::containsPoint ( float  x,
float  y,
float  z 
) const
inline

在文件 Bounds.h60 行定义.

引用了 maxZ, minX, minY, minZ, x , 以及 z.

◆ depth()

float eve::spatial::AABB3::depth ( ) const
inline

在文件 Bounds.h53 行定义.

引用了 maxZ , 以及 minZ.

被这些函数引用 eve::spatial::BSPTree3D::BSPTree3D() , 以及 eve::spatial::Octree::Octree().

◆ height()

float eve::spatial::AABB3::height ( ) const
inline

在文件 Bounds.h52 行定义.

引用了 maxY , 以及 minY.

被这些函数引用 eve::spatial::BSPTree3D::BSPTree3D() , 以及 eve::spatial::Octree::Octree().

◆ intersectsAABB()

bool eve::spatial::AABB3::intersectsAABB ( const AABB3 o) const
inline

在文件 Bounds.h69 行定义.

引用了 maxX, maxY, maxZ, minX, minY , 以及 minZ.

◆ intersectsSphere()

bool eve::spatial::AABB3::intersectsSphere ( float  cx,
float  cy,
float  cz,
float  radius 
) const
inline

在文件 Bounds.h74 行定义.

引用了 cx, cy, maxX, maxY, maxZ, minX, minY , 以及 minZ.

◆ valid()

bool eve::spatial::AABB3::valid ( ) const
inline

在文件 Bounds.h58 行定义.

引用了 maxX, maxY, maxZ, minX, minY , 以及 minZ.

被这些函数引用 eve::spatial::BSPTree3D::BSPTree3D() , 以及 eve::spatial::Octree::Octree().

◆ width()

float eve::spatial::AABB3::width ( ) const
inline

在文件 Bounds.h51 行定义.

引用了 maxX , 以及 minX.

被这些函数引用 eve::spatial::BSPTree3D::BSPTree3D() , 以及 eve::spatial::Octree::Octree().

类成员变量说明

◆ maxX

float eve::spatial::AABB3::maxX = 0.f

◆ maxY

float eve::spatial::AABB3::maxY = 0.f

◆ maxZ

float eve::spatial::AABB3::maxZ = 0.f

◆ minX

float eve::spatial::AABB3::minX = 0.f

◆ minY

float eve::spatial::AABB3::minY = 0.f

◆ minZ

float eve::spatial::AABB3::minZ = 0.f

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