diff options
added sem 8
1 files changed, 11 insertions, 0 deletions
| -rw-r--r-- | Sem. 08/Nvector/TwoDimCoordSystem.h | 11 |
diff --git a/Sem. 08/Nvector/TwoDimCoordSystem.h b/Sem. 08/Nvector/TwoDimCoordSystem.h new file mode 100644 index 0000000..a2fdbfe --- /dev/null +++ b/Sem. 08/Nvector/TwoDimCoordSystem.h @@ -0,0 +1,11 @@ +#include "Nvector.h" +class TwoDimCoordSystem +{ + Nvector v1; + Nvector v2; + + TwoDimCoordSystem(const Nvector& v1, const Nvector& rhs); + + Nvector getVectorByCoordinates(size_t coordX, size_t coordY) const; + Nvector getCoordinatesByVector(const Nvector& other) const; +};
\ No newline at end of file |
