OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::PointHash Struct Reference

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

Public Member Functions

size_t operator() (const Vec2crd &pt) const noexcept

Detailed Description

Member Function Documentation

◆ operator()()

size_t Slic3r::PointHash::operator() ( const Vec2crd & pt) const
inlinenoexcept
506 {
507 return coord_t((89 * 31 + int64_t(pt.x())) * 31 + pt.y());
508 }
int64_t coord_t
Definition libslic3r.h:48

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