OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::sla::SupportPointGenerator::PointGrid3D::GridHash Struct Reference

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

Public Member Functions

std::size_t operator() (const Vec3i32 &cell_id) const

Detailed Description

Member Function Documentation

◆ operator()()

std::size_t Slic3r::sla::SupportPointGenerator::PointGrid3D::GridHash::operator() ( const Vec3i32 & cell_id) const
inline
153 {
154 return std::hash<int>()(cell_id.x()) ^ std::hash<int>()(cell_id.y() * 593) ^ std::hash<int>()(cell_id.z() * 7919);
155 }
Vec3i32 cell_id(const Vec3f &pos)
Definition SupportPointGenerator.hpp:162

References Slic3r::sla::SupportPointGenerator::PointGrid3D::cell_id().

Here is the call graph for this function:

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