[TechDraw] CenterLine should use enums

This commit is contained in:
Benjamin Bræstrup Sayoc
2023-07-14 12:59:20 +02:00
committed by WandererFan
parent b892fee07f
commit 90f22b4eba
3 changed files with 32 additions and 32 deletions

View File

@@ -85,7 +85,7 @@ public:
static CenterLine* CenterLineBuilder(TechDraw::DrawViewPart* partFeat,
std::vector<std::string> subs,
int mode = 0,
int mode = CenterLine::VERTICAL,
bool flip = false);
TechDraw::BaseGeomPtr scaledGeometry(TechDraw::DrawViewPart* partFeat);
@@ -137,8 +137,8 @@ public:
std::vector<std::string> m_faces;
std::vector<std::string> m_edges;
std::vector<std::string> m_verts;
int m_type; // 0 - face, 1 - 2 line, 2 - 2 point
int m_mode; // 0 - vert/ 1 - horiz/ 2 - aligned
int m_type; // CLTYPE enum
int m_mode; // CLMODE enum
double m_hShift;
double m_vShift;
double m_rotate;