OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::FillHoneycomb::CacheID Struct Reference

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

Public Member Functions

 CacheID (float adensity, coordf_t aspacing)
bool operator< (const CacheID &other) const
bool operator== (const CacheID &other) const

Public Attributes

float density
coordf_t spacing

Detailed Description

Constructor & Destructor Documentation

◆ CacheID()

Slic3r::FillHoneycomb::CacheID::CacheID ( float adensity,
coordf_t aspacing )
inline
37 :
38 density(adensity), spacing(aspacing) {}
coordf_t spacing
Definition FillHoneycomb.hpp:40
float density
Definition FillHoneycomb.hpp:39

References density, and spacing.

Referenced by operator<(), and operator==().

Here is the caller graph for this function:

Member Function Documentation

◆ operator<()

bool Slic3r::FillHoneycomb::CacheID::operator< ( const CacheID & other) const
inline
42 { return (density < other.density) || (density == other.density && spacing < other.spacing); }

References CacheID(), density, and spacing.

Here is the call graph for this function:

◆ operator==()

bool Slic3r::FillHoneycomb::CacheID::operator== ( const CacheID & other) const
inline
44 { return density == other.density && spacing == other.spacing; }

References CacheID(), density, and spacing.

Here is the call graph for this function:

Member Data Documentation

◆ density

float Slic3r::FillHoneycomb::CacheID::density

Referenced by CacheID(), operator<(), and operator==().

◆ spacing

coordf_t Slic3r::FillHoneycomb::CacheID::spacing

Referenced by CacheID(), operator<(), and operator==().


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