coreValue property
Implementation
@visibleForTesting
int get coreValue {
switch (this) {
case point:
return 0;
case curve:
return 1;
case area:
return 2;
case volume:
return 3;
case unknown:
return -1;
}
}