Box3D
Box3D.py File Reference

Box3D More...

Classes

class  Box3D.Box3D
 

Namespaces

 Box3D
 

Detailed Description

Box3D

Author
Mustafa Haddara
Date
1/10/2016 This class represents a rectangle.

This class represents a rectangle as (x,y,z) coordinate representing the front-facing top-left corner, and a (w,h,d) tuple representing the width, height and depth.

b = Box3D( (1,1,1), (2,2,2) )
print b.getSurfaceArea()
Todo:
Add test cases for the functions.