toD method

Implementation

BoundingBoxD toD([Pointer<BoundingBoxC>? ptr]) => .new(
  originalPointer: ptr,
  min: min.toD(),
  max: max.toD(),
);