hasM method

bool hasM()

Checks {@link #getMeasures()} to determine if {@link #getM(int)} is supported.

@return true if {@link #getM(int)} is supported.

Implementation

bool hasM() {
  return getDimension() > 2 && getMeasures() > 0;
}