| 720 | } |
| 721 | |
| 722 | int CartesianCoordinateSystem::index(const Dimension dim) const { |
| 723 | switch (dim) { |
| 724 | case Dimension::X: |
| 725 | return d->xIndex; |
| 726 | case Dimension::Y: |
| 727 | return d->yIndex; |
| 728 | } |
| 729 | return 0; |
| 730 | } |
| 731 | |
| 732 | void CartesianCoordinateSystem::setIndex(const Dimension dim, const int index) { |
| 733 | switch (dim) { |
no outgoing calls
no test coverage detected