Peano
Loading...
Searching...
No Matches
Coordinate.h
Go to the documentation of this file.
1// This file is part of the Peano project. For conditions of distribution and
2// use, please see the copyright notice at www.peano-framework.org
3#pragma once
4
5#include <string>
6
7namespace toolbox {
8 namespace curvi {
9
10 enum Coordinate { Z = 0, Y = 1, X = 2 };
11
12#define NCOORDS 3
13
14 std::string coordToString(Coordinate c);
16
17 Coordinate stringToCoord(std::string c);
20
21 } // namespace curvi
22} // namespace toolbox
Coordinate stringToCoord(std::string c)
std::string coordToString(Coordinate c)
Coordinate getNormal(Coordinate c1, Coordinate c2)
void getPlane(Coordinate c1, Coordinate &c2, Coordinate &c3)
std::string coordToLowercaseString(Coordinate c)