Gg.Box3dim is the dimension of the boxes of type box3.
type v = v3The type for 3D vectors.
type p = p3The type for 3D points.
type size = size3The type for 3D sizes.
type m = m3The type for matrices representing linear transformations of 3D space.
val empty : box3empty is the empty box.
val ox : box3 -> floatox b is V3.x (o b).
val oy : box3 -> floatoy b is V3.y (o b).
val oz : box3 -> floatoz b is V3.z (o b).
val w : box3 -> floatw b is Size3.w (size b).
val h : box3 -> floath b is Size3.h (size b).
val d : box3 -> floatd b is Size3.d (size b).
val zero : box3zero is a box whose origin and size is zero.
val unit : box3unit is the unit box which extends from zero to one in all dimensions.
val minx : box3 -> floatminx b is V3.x (min b).
val miny : box3 -> floatminy b is V3.y (min b).
val minz : box3 -> floatminz b is V3.z (min b).
val maxx : box3 -> floatmaxx b is V3.x (max b).
val maxy : box3 -> floatmaxy b is V3.y (max b).
val maxz : box3 -> floatmaxz b is V3.z (max b).
val midx : box3 -> floatmidx b is V3.x (mid b).
val midy : box3 -> floatmidy b is V3.y (mid b).
val midz : box3 -> floatmidz b is V3.z (mid b).
val area : box3 -> floatarea b is the surface area of b.
val volume : box3 -> floatvolume b is the volume of b.
inter b b' is a box whose space is the intersection of S(b) and S(b').
val is_pt : box3 -> boolis_pt b is true iff b is not empty and its size is equal to 0 in every dimension.
val is_plane : box3 -> boolis_plane b is true iff the size of b is equal to 0 in exactly one dimension.
val is_seg : box3 -> boolis_seg b is true iff b is not empty and its size is equal to 0 in exactly two dimensions.
equal_f eq b b' tests b and b' like equal but uses eq to test floating point values.
compare_f cmp b b' compares b and b' like compare but uses cmp to compare floating point values.
val pp : Format.formatter -> box3 -> unitpp ppf b prints a textual representation of b on ppf.
val pp_f : (Format.formatter -> float -> unit) -> Format.formatter -> box3 -> unitpp_f pp_fl ppf b prints b like pp but uses pp_fl to print floating point values.