Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
Slic3r::Emboss::OrthoProject3d Class Reference

#include <src/libslic3r/Emboss.hpp>

+ Inheritance diagram for Slic3r::Emboss::OrthoProject3d:
+ Collaboration diagram for Slic3r::Emboss::OrthoProject3d:

Public Member Functions

 OrthoProject3d (Vec3d direction)
 
Vec3d project (const Vec3d &point) const override
 Move point with respect to projection direction e.g. Orthogonal projection will move with point by direction e.g. Spherical projection need to use center of projection.
 

Private Attributes

Vec3d m_direction
 

Detailed Description

Constructor & Destructor Documentation

◆ OrthoProject3d()

Slic3r::Emboss::OrthoProject3d::OrthoProject3d ( Vec3d  direction)
inline
345: m_direction(direction) {}
Vec3d m_direction
Definition Emboss.hpp:343

Member Function Documentation

◆ project()

Vec3d Slic3r::Emboss::OrthoProject3d::project ( const Vec3d point) const
inlineoverridevirtual

Move point with respect to projection direction e.g. Orthogonal projection will move with point by direction e.g. Spherical projection need to use center of projection.

Parameters
pointSpatial point coordinate
Returns
Projected spatial point

Implements Slic3r::Emboss::IProject3d.

346{ return point + m_direction;}

References m_direction.

Member Data Documentation

◆ m_direction

Vec3d Slic3r::Emboss::OrthoProject3d::m_direction
private

Referenced by project().


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