载入中...
搜索中...
未找到
eve::spatial::AABB2结构体 参考
#include <Bounds.h>
Public 成员函数 | |
| float | width () const |
| float | height () const |
| float | centerX () const |
| float | centerY () const |
| bool | valid () const |
| bool | containsPoint (float x, float y) const |
| bool | containsAABB (const AABB2 &o) const |
| bool | intersectsAABB (const AABB2 &o) const |
| bool | intersectsCircle (float cx, float cy, float radius) const |
Public 属性 | |
| float | minX = 0.f |
| float | minY = 0.f |
| float | maxX = 0.f |
| float | maxY = 0.f |
详细描述
成员函数说明
◆ centerX()
◆ centerY()
◆ containsAABB()
|
inline |
◆ containsPoint()
|
inline |
◆ height()
|
inline |
◆ intersectsAABB()
|
inline |
◆ intersectsCircle()
|
inline |
◆ valid()
|
inline |
引用了 maxX, maxY, minX , 以及 minY.
被这些函数引用 eve::spatial::BSPTree2D::BSPTree2D() , 以及 eve::spatial::QuadTree::QuadTree().
◆ width()
|
inline |
类成员变量说明
◆ maxX
| float eve::spatial::AABB2::maxX = 0.f |
◆ maxY
| float eve::spatial::AABB2::maxY = 0.f |
◆ minX
| float eve::spatial::AABB2::minX = 0.f |
◆ minY
| float eve::spatial::AABB2::minY = 0.f |
该结构体的文档由以下文件生成:
- src/modules/spatial/Bounds.h