OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::ClipperUtils::ExPolygonProvider Struct Reference

#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/ClipperUtils.hpp>

Collaboration diagram for Slic3r::ClipperUtils::ExPolygonProvider:

Classes

struct  iterator

Public Member Functions

 ExPolygonProvider (const ExPolygon &expoly)
iterator cbegin () const
iterator begin () const
iterator cend () const
iterator end () const
size_t size () const

Private Attributes

const ExPolygon & m_expoly

Detailed Description

Constructor & Destructor Documentation

◆ ExPolygonProvider()

Slic3r::ClipperUtils::ExPolygonProvider::ExPolygonProvider ( const ExPolygon & expoly)
inline
171: m_expoly(expoly) {}
const ExPolygon & m_expoly
Definition ClipperUtils.hpp:193

References m_expoly.

Member Function Documentation

◆ begin()

iterator Slic3r::ClipperUtils::ExPolygonProvider::begin ( ) const
inline
187{ return this->cbegin(); }
iterator cbegin() const
Definition ClipperUtils.hpp:186

References cbegin().

Here is the call graph for this function:

◆ cbegin()

iterator Slic3r::ClipperUtils::ExPolygonProvider::cbegin ( ) const
inline
186{ return iterator(m_expoly, 0); }

References m_expoly.

Referenced by begin().

Here is the caller graph for this function:

◆ cend()

iterator Slic3r::ClipperUtils::ExPolygonProvider::cend ( ) const
inline
188{ return iterator(m_expoly, m_expoly.holes.size() + 1); }

References m_expoly.

Referenced by end().

Here is the caller graph for this function:

◆ end()

iterator Slic3r::ClipperUtils::ExPolygonProvider::end ( ) const
inline
189{ return this->cend(); }
iterator cend() const
Definition ClipperUtils.hpp:188

References cend().

Here is the call graph for this function:

◆ size()

size_t Slic3r::ClipperUtils::ExPolygonProvider::size ( ) const
inline
190{ return m_expoly.holes.size() + 1; }

References m_expoly.

Member Data Documentation

◆ m_expoly

const ExPolygon& Slic3r::ClipperUtils::ExPolygonProvider::m_expoly
private

Referenced by ExPolygonProvider(), cbegin(), cend(), and size().


The documentation for this struct was generated from the following file: