Commit 4b12ab4d authored by Dmitry Yu. Naumov's avatar Dmitry Yu. Naumov Committed by Dmitry Yu. Naumov
Browse files

[GL] Make class members private.

Moving them from protected section. All of the access
is now through public interface and these parts can
be hidden.
parent 69a7f3a4
Pipeline #5030 passed with stages
in 34 minutes and 9 seconds
......@@ -58,21 +58,22 @@ public:
/** returns the number of children */
std::size_t getNumberOfChildren() const { return _children.size(); }
protected:
private:
/**
* the polygon this node stands for
*/
Polygon* _node_polygon;
/**
* the polygon represented by this node is contained in the
* polygon represented by the parent node in the tree
*/
SimplePolygonTree* _parent;
/**
* list of polygons (represented by SimplePolygonTree nodes) contained
* in the _node_polygon
*/
std::list<SimplePolygonTree*> _children;
/**
* the polygon represented by this node is contained in the
* polygon represented by the parent node in the tree
*/
SimplePolygonTree* _parent;
public:
decltype(_children)::iterator begin() { return _children.begin(); }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment