OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
std::hash< Slic3r::Vec2d > Struct Reference

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

Public Member Functions

std::size_t operator() (const Slic3r::Vec2d &v) const noexcept

Detailed Description

Member Function Documentation

◆ operator()()

std::size_t std::hash< Slic3r::Vec2d >::operator() ( const Slic3r::Vec2d & v) const
inlinenoexcept
76 {
77 std::size_t seed = std::hash<double>{}(v.x());
78 boost::hash_combine(seed, std::hash<double>{}(v.y()));
79 return seed;
80 }

The documentation for this struct was generated from the following file:
  • /home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/Config.hpp