operator % method

BlockAlignment operator %(
  1. double other
)

Computes the remainder in each dimension by the given factor.

Implementation

BlockAlignment operator %(double other) {
  return BlockAlignment(x % other, y % other);
}