magnitude method

num magnitude()

Returns the magnitude (or norm) of the normal.

This is equivalent to the Euclidean length of the vector.

Implementation

num magnitude() {
  return normal.magnitude;
}