Remove magic number and hard type enums in Geometry.h
- Remove currently present magic numbers - Hard type enums, so magic numbers can no longer be introduced. We don't want people to introduce magic numbers.
This commit is contained in:
committed by
WandererFan
parent
033817f5fe
commit
97b34f9c57
@@ -86,7 +86,7 @@ public:
|
||||
static TopoDS_Shape simpleProjection(const TopoDS_Shape& shape, const gp_Ax2& projCS);
|
||||
static TopoDS_Shape projectFace(const TopoDS_Shape& face, const gp_Ax2& CS);
|
||||
void makeTDGeometry();
|
||||
void extractGeometry(edgeClass category, bool visible);
|
||||
void extractGeometry(EdgeClass category, bool visible);
|
||||
void addFaceGeom(FacePtr f);
|
||||
void clearFaceGeom();
|
||||
void setIsoCount(int i) { m_isoCount = i; }
|
||||
@@ -141,7 +141,7 @@ protected:
|
||||
TopoDS_Shape hidSeam;
|
||||
TopoDS_Shape hidIso;
|
||||
|
||||
void addGeomFromCompound(TopoDS_Shape edgeCompound, edgeClass category, bool visible);
|
||||
void addGeomFromCompound(TopoDS_Shape edgeCompound, EdgeClass category, bool visible);
|
||||
TechDraw::DrawViewDetail* isParentDetail();
|
||||
|
||||
//similar function in Geometry?
|
||||
|
||||
Reference in New Issue
Block a user