[TD]getters and setters for geometry
- make attributes private (or protected) and use getters and setters instead of accessing attributes directly.
This commit is contained in:
@@ -598,8 +598,8 @@ private:
|
||||
std::vector<TechDraw::BaseGeomPtr> geoms = dvp->getEdgeGeometry();
|
||||
std::vector<TopoDS_Edge> cosmeticEdges;
|
||||
for (auto& g : geoms) {
|
||||
if (g->hlrVisible && g->cosmetic) {
|
||||
cosmeticEdges.push_back(g->occEdge);
|
||||
if (g->getHlrVisible() && g->getCosmetic()) {
|
||||
cosmeticEdges.push_back(g->getOCCEdge());
|
||||
}
|
||||
}
|
||||
if (!cosmeticEdges.empty()) {
|
||||
|
||||
Reference in New Issue
Block a user