bool ModelValidator::isValid(const Coordinate& coordinate, bool allowDefaults/* = false*/) { if (coordinate.GetPosition() < 0) RETURN_WITH_ERROR("Coordinate position cannot be negative"); if (coordinate.GetDimensionIndex() < 0) RETURN_WITH_ERROR("Coordinate's dimension index cannot be negative"); return true; }