mirror of https://github.com/CGAL/cgal
Make child and data of a Node public
This is necessary so that other algorithms can traverse the hierarchy.
This commit is contained in:
parent
2540612e97
commit
33bc6f125f
|
|
@ -97,6 +97,8 @@ private:
|
|||
const Primitive& right_data() const
|
||||
{ return *static_cast<Primitive*>(m_p_right_child); }
|
||||
|
||||
public:
|
||||
|
||||
Node& left_child() { return *static_cast<Node*>(m_p_left_child); }
|
||||
Node& right_child() { return *static_cast<Node*>(m_p_right_child); }
|
||||
Primitive& left_data() { return *static_cast<Primitive*>(m_p_left_child); }
|
||||
|
|
|
|||
Loading…
Reference in New Issue