Gg.BoxImplemented by all axis-aligned box types.
dim is the dimension of the boxes of type t.
The type for dim vectors.
The type for dim points.
The type for dim sizes.
The type for matrices representing linear transformations of dim space.
val empty : tempty is the empty box.
val zero : tzero is a box whose origin and size is zero.
val unit : tunit is the unit box which extends from zero to one in all dimensions.
val area : t -> floatarea b is the surface area of b.
val is_pt : t -> boolis_pt b is true iff b is not empty and its size is equal to 0 in every dimension.
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 -> t -> unitpp ppf b prints a textual representation of b on ppf.
val pp_f : (Format.formatter -> float -> unit) -> Format.formatter -> t -> unitpp_f pp_fl ppf b prints b like pp but uses pp_fl to print floating point values.