BoundingBox2D

constructor(centerPoint: Point2D<Double>, width: Double, height: Double, hitBorder: Double)

Creates a new bounding box with the given center point, width, height and hit border. The hitBorder will be divided by 2 and each half will be applied on each of the sides of this BB.