v0.14.0
Public Member Functions | Private Attributes | Friends | List of all members
ClipperLib::PolyTree Class Reference

#include <users_modules/mortar_contact/src/clipper.hpp>

Inheritance diagram for ClipperLib::PolyTree:
[legend]
Collaboration diagram for ClipperLib::PolyTree:
[legend]

Public Member Functions

 ~PolyTree ()
 
PolyNodeGetFirst () const
 
void Clear ()
 
int Total () const
 
- Public Member Functions inherited from ClipperLib::PolyNode
 PolyNode ()
 
virtual ~PolyNode ()
 
PolyNodeGetNext () const
 
bool IsHole () const
 
bool IsOpen () const
 
int ChildCount () const
 

Private Attributes

PolyNodes AllNodes
 

Friends

class Clipper
 

Additional Inherited Members

- Public Attributes inherited from ClipperLib::PolyNode
Path Contour
 
PolyNodes Childs
 
PolyNodeParent
 

Detailed Description

Definition at line 159 of file clipper.hpp.

Constructor & Destructor Documentation

◆ ~PolyTree()

ClipperLib::PolyTree::~PolyTree ( )
inline

Definition at line 162 of file clipper.hpp.

162 {Clear();};

Member Function Documentation

◆ Clear()

void ClipperLib::PolyTree::Clear ( )

Definition at line 188 of file clipper.cpp.

188 {
189  return (int)Childs.size();
190 }
191 //------------------------------------------------------------------------------
192 
193 void PolyNode::AddChild(PolyNode& child)
194 {

◆ GetFirst()

PolyNode * ClipperLib::PolyTree::GetFirst ( ) const

Definition at line 197 of file clipper.cpp.

203 {

◆ Total()

int ClipperLib::PolyTree::Total ( ) const

Definition at line 206 of file clipper.cpp.

212 {

Friends And Related Function Documentation

◆ Clipper

friend class Clipper
friend

Definition at line 168 of file clipper.hpp.

Member Data Documentation

◆ AllNodes

PolyNodes ClipperLib::PolyTree::AllNodes
private

Definition at line 167 of file clipper.hpp.


The documentation for this class was generated from the following files:
ClipperLib::PolyNode::AddChild
void AddChild(PolyNode &child)
Definition: clipper.cpp:229
ClipperLib::PolyNode::Childs
PolyNodes Childs
Definition: clipper.hpp:142
ClipperLib::PolyNode::PolyNode
PolyNode()
Definition: clipper.cpp:218
ClipperLib::PolyTree::Clear
void Clear()
Definition: clipper.cpp:188