Commit 033e3393 authored by Will Schroeder's avatar Will Schroeder
Browse files

ENH: Added length2 method.

parent 841e8f78
......@@ -84,6 +84,9 @@ public:
// Compute cell bounding box (xmin,xmax,ymin,ymax,zmin,zmax)
float *GetBounds();
// Compute Length squared of cell (i.e., bounding box diagonal squared)
float GetLength2();
// Quick intersection of cell bounding box. Returns != 0 for hit.
char HitBBox(float bounds[6], float origin[3], float dir[3], float coord[3]);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment