Polyhedron.pkg 923 B

1234567891011121314151617181920212223242526
  1. $#include "Math/Polyhedron.h"
  2. class Polyhedron
  3. {
  4. Polyhedron();
  5. Polyhedron(const Polyhedron& polyhedron);
  6. Polyhedron(const BoundingBox& box);
  7. Polyhedron(const Frustum& frustum);
  8. ~Polyhedron();
  9. void Define(const BoundingBox& box);
  10. void Define(const Frustum& frustum);
  11. void AddFace(const Vector3& v0, const Vector3& v1, const Vector3& v2);
  12. void AddFace(const Vector3& v0, const Vector3& v1, const Vector3& v2, const Vector3& v3);
  13. void Clip(const Plane& plane);
  14. void Clip(const BoundingBox& box);
  15. void Clip(const Frustum& box);
  16. void Clear();
  17. void Transform(const Matrix3& transform);
  18. void Transform(const Matrix3x4& transform);
  19. Polyhedron Transformed(const Matrix3& transform) const;
  20. Polyhedron Transformed(const Matrix3x4& transform) const;
  21. bool Empty() const;
  22. tolua_readonly tolua_property__no_prefix bool empty;
  23. };