getCenter method
This Bounds cental point.
Implementation
CustomPoint<double> getCenter() {
return CustomPoint<double>(
(min.x + max.x) / 2,
(min.y + max.y) / 2,
);
}
This Bounds cental point.
CustomPoint<double> getCenter() {
return CustomPoint<double>(
(min.x + max.x) / 2,
(min.y + max.y) / 2,
);
}