operator / method

BlockAlignment operator /(
  1. double other
)

Divides the BlockAlignment in each dimension by the given factor.

Implementation

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