[TD]Python routines & extension for CosmeticVertex

This commit is contained in:
wandererfan
2019-12-01 09:18:24 -05:00
committed by WandererFan
parent 5022026906
commit d9e0c2e452
22 changed files with 800 additions and 249 deletions

View File

@@ -108,6 +108,8 @@ public:
const std::vector<BaseGeom *> & getEdgeGeometry() const { return edgeGeom; }
const std::vector<BaseGeom *> getVisibleFaceEdges(bool smooth, bool seam) const;
const std::vector<Face *> & getFaceGeometry() const { return faceGeom; }
void setVertexGeometry(std::vector<Vertex*> newVerts) {vertexGeom = newVerts; }
void projectShape(const TopoDS_Shape &input,
const gp_Ax2 viewAxis);
@@ -142,8 +144,9 @@ public:
TopoDS_Shape getHidIso(void) { return hidIso; }
//Are removeXXXXX functions really needed for GO?
int addCosmeticVertex(Base::Vector3d pos, int link = -1);
int addCosmeticVertex(Base::Vector3d pos, std::string tagString, int link = -1);
int addCosmeticVertex(CosmeticVertex* cv);
int addCosmeticVertex(Base::Vector3d pos, int link = -1); //obs?
int addCosmeticVertex(Base::Vector3d pos, std::string tagString, int link = -1); //obs??
int addCosmeticEdge(TechDraw::BaseGeom* bg, int s = 0);
int addCenterLine(TechDraw::BaseGeom* bg, int s = 0, int si = -1);