Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
Slic3r::PointHash Struct Reference

#include <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
321 {
322 return coord_t((89 * 31 + int64_t(pt.x())) * 31 + pt.y());
323 }
int32_t coord_t
Definition libslic3r.h:39
__int64 int64_t
Definition unistd.h:76

Referenced by Slic3r::has_duplicate_points(), and Slic3r::has_duplicate_points().

+ Here is the caller graph for this function:

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