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

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

Collaboration diagram for Slic3r::ClipperUtils::ExPolygonsProvider:

Classes

struct  iterator

Public Member Functions

 ExPolygonsProvider (const ExPolygons &expolygons)
iterator cbegin () const
iterator begin () const
iterator cend () const
iterator end () const
size_t size () const

Private Attributes

const ExPolygons & m_expolygons
size_t m_size

Detailed Description

Constructor & Destructor Documentation

◆ ExPolygonsProvider()

Slic3r::ClipperUtils::ExPolygonsProvider::ExPolygonsProvider ( const ExPolygons & expolygons)
inline
197 : m_expolygons(expolygons) {
198 m_size = 0;
199 for (const ExPolygon &expoly : expolygons)
200 m_size += expoly.holes.size() + 1;
201 }
const ExPolygons & m_expolygons
Definition ClipperUtils.hpp:233
size_t m_size
Definition ClipperUtils.hpp:234

References m_expolygons, and m_size.

Member Function Documentation

◆ begin()

iterator Slic3r::ClipperUtils::ExPolygonsProvider::begin ( ) const
inline
227{ return this->cbegin(); }
iterator cbegin() const
Definition ClipperUtils.hpp:226

References cbegin().

Here is the call graph for this function:

◆ cbegin()

iterator Slic3r::ClipperUtils::ExPolygonsProvider::cbegin ( ) const
inline
226{ return iterator(m_expolygons.cbegin()); }

References m_expolygons.

Referenced by begin().

Here is the caller graph for this function:

◆ cend()

iterator Slic3r::ClipperUtils::ExPolygonsProvider::cend ( ) const
inline
228{ return iterator(m_expolygons.cend()); }

References m_expolygons.

Referenced by end().

Here is the caller graph for this function:

◆ end()

iterator Slic3r::ClipperUtils::ExPolygonsProvider::end ( ) const
inline
229{ return this->cend(); }
iterator cend() const
Definition ClipperUtils.hpp:228

References cend().

Here is the call graph for this function:

◆ size()

size_t Slic3r::ClipperUtils::ExPolygonsProvider::size ( ) const
inline
230{ return m_size; }

References m_size.

Member Data Documentation

◆ m_expolygons

const ExPolygons& Slic3r::ClipperUtils::ExPolygonsProvider::m_expolygons
private

Referenced by ExPolygonsProvider(), cbegin(), and cend().

◆ m_size

size_t Slic3r::ClipperUtils::ExPolygonsProvider::m_size
private

Referenced by ExPolygonsProvider(), and size().


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