round method
Create new CustomPoint where x and y is rounded to int
Implementation
CustomPoint<int> round() {
return CustomPoint<int>(x.round(), y.round());
}
Create new CustomPoint where x and y is rounded to int
CustomPoint<int> round() {
return CustomPoint<int>(x.round(), y.round());
}