Next: LinearCoordinateSystem: a System With Up: Example Coordinate Systems Previous: Example Coordinate Systems

### `CoordinateSystem`: the Simplest System

The `CoordinateSystem` class represents a trivial system in which no transformation is made between data voxels and coordinate space. Another way to put it is that a position in the coordinate space is identical to the position in the dataset. An object of this class can be created with one line:

        // create a simple coordinate system with 2 axes
        CoordinateSystem coord = new CoordinateSystem(new CoordMetadata(2));

This system is often used with simple GIF or JPEG images since these formats do not generally include metadata that can define a coordinate system.