private static IEnumerable<string> GetVarArray( ValueAxis axis )
{
switch ( axis ) {
case ValueAxis.Z:
return new string[] { "x", "y" };
case ValueAxis.Y:
return new string[] { "x", "z" };
case ValueAxis.X:
return new string[] { "y", "z" };
}
throw new ArgumentException( "Unknown value axis direction " + axis + ". This software is not released for use in spaces with dimension higher than three." );
}