public float get ( Layout . Axis axis ) { switch ( axis ) { case X : return x ; case Y : return y ; case Z : return z ; default : throw new RuntimeAssertion ( "Bad axis specified: %s" , axis ) ; } }
Gets axis dimension