Methods for indexing orientations


Methods are defined for indexing all types of orientations.


Single bracket indexing (e.g. x[1:3]) creates a new orientation object of the same class as the original by selecting the appropriate entries. Double bracket indexing (e.g. x[[3]]) extracts the chosen data as a matrix or vector, depending on the class of the orientation.