OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::GUI::GLCanvas3D::CenterOfMass::Marker Struct Reference
Collaboration diagram for Slic3r::GUI::GLCanvas3D::CenterOfMass::Marker:

Public Member Functions

Vec3d center () const

Public Attributes

Sum sum
BoundingBoxf3 box
bool assembly { false }

Detailed Description

Member Function Documentation

◆ center()

Vec3d Slic3r::GUI::GLCanvas3D::CenterOfMass::Marker::center ( ) const
inline
496{ return sum.moment / sum.mass; }
Sum sum
Definition GLCanvas3D.hpp:491

References sum.

Referenced by Slic3r::GUI::GLCanvas3D::CenterOfMass::render_details().

Here is the caller graph for this function:

Member Data Documentation

◆ assembly

bool Slic3r::GUI::GLCanvas3D::CenterOfMass::Marker::assembly { false }

◆ box

◆ sum


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