(Irrlicht官方文档)irr::core::aabbox3d
来源:互联网 发布:专业金相分析软件 编辑:程序博客网 时间:2024/06/07 21:05
irr::core::aabbox3d< T >
头文件:<aabbox3d.h>
三维立体空间的边界轴
public功能函数:
构造函数:
1.aabbox3d(T minx,T miny,T min z,T maxx,Tmaxy,T maxz)
构造函数,单值非容器值
2.aabbox3d(const vector3d< T > &init)
构造函数,只用一个点
3.aabbox3d(const vector3d< T > &min, const vector3d< T > &max)
构造函数,使用容器点
功能函数:
1.addInternalBox ( const aabbox3d< T > & b )
增加一个边界盒子,参数为边界盒子
2.core::aabbox3d< T >::addInternalPoint ( T x, T y, T z )
增加一个点到边界盒子
3.addInternalPoint ( const vector3d< T > & p )
增加一个点到边界盒子
4.classifyPlaneRelation ( const plane3d< T > & plane )
判断边界盒子与plane3d的位置,若在之前,返回ISREL3D_FRONT,在之后返回ISREL3D_BACK ,在之间返回ISREL3D_CLIPPED
5.getArea ( )
获取边界盒子的表面积(平方单位)
6.getCenter ( )
获取边界盒子的中心
7.getEdges ( vector3d< T > * edges )
获取边界盒子的所有顶点到一个数组
8.getExtent ( )
获取盒子的距离(取两点最大距离)
9.getInterpolated ( const aabbox3d< T > & other, f32 d )
d=0返回other,d=1返回this,介于两者之间返回两者的混合
10.getVolume ( )
获取边界盒子的体积(立方单位)
11.intersectsWithBox ( const aabbox3d< T > & other )
判断是否与另一个轴对齐是否相交,是返回true,否返回false
12.intersectsWithLine ( const vector3d< T > & linemiddle, const vector3d< T > &linevect,
T halflength )
测试是否盒子与线相交
linemiddle:线的中点
linevect:矢量线
halflength:线的一半长
如果相交返回true,否则返回false
13.isEmpty ( )
判断盒子是否为空,是则返回true,否返回false
14.isFullInside ( const aabbox3d< T > & other )
是否完全在其他盒子之内
15.isPointInside ( const vector3d< T > & p )
是否某点在盒子之内
16.isPointTotalInside ( const vector3d< T > & p )
是否某点在盒子之内且不在边界之上
17.
operator!= ( const aabbox3d< T > & other )
operator== ( const aabbox3d< T > & other )
重载操作符,判断两个盒子关系
18.repair ( )
19.reset ( const vector3d< T > & initValue )
重置边界到点盒
20.reset ( const aabbox3d< T > & initValue )
采用盒子重置当前盒子
- (Irrlicht官方文档)irr::core::aabbox3d
- (Irrlicht官方文档)class irr::core::array< T, TAlloc >
- core animation官方文档
- .net core官方文档
- core animation官方文档翻译
- Irrlicht学习之载入irr文件和自定义场景节点
- ABP官方文档(四十一)【ASP.NET Core】
- ABP官方文档(五十一)【集成EntityFramework Core】
- Core ML官方文档中文翻译【Core ML总篇】
- Core Data Features(Apple官方文档译文)
- Core Data Basics(Apple官方文档的译文)
- Core Animation 官方文档第一章(基础核心动画)
- Core Animation 官方文档第二章(设置图层对象)
- Core Animation 官方文档第三章(动画图层内容)
- Core Animation 官方文档第五章(高级动画技巧)
- Core Bluetooth 开发的好文章 人工翻译官方文档
- 文档翻译之irrlicht1.8-- irr::scene:IMeshLoader
- irrlicht
- [转载]Objective-C中的继承与复合技术
- Windows server 2008 远程桌面
- Winform分页控件实现普通版、DotNetBar、DevExpress三大版本整合
- ubuntu server 10.4下LVS-DR实验
- OpenCV显示图片
- (Irrlicht官方文档)irr::core::aabbox3d
- FlashFXP,修改 FTP 空间密码
- VC中常用20个函数知多少
- Android架构设计中新建包的原则
- 深入理解JavaScript闭包(closure)
- 硬件计量单位与相关联的单位之间的换算关系
- 正则学习 好东西
- Objective-C面向对象编程基础知识
- Resource View Of vs2010