OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::sla::DiffBridge Struct Reference

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

Inheritance diagram for Slic3r::sla::DiffBridge:
Collaboration diagram for Slic3r::sla::DiffBridge:

Public Member Functions

 DiffBridge (const Vec3d &p_s, const Vec3d &p_e, double r_s, double r_e)
double get_length () const
Vec3d get_dir () const

Public Attributes

double end_r
double r = 0.8
Vec3d startp = Vec3d::Zero()
Vec3d endp = Vec3d::Zero()
long id = ID_UNSET

Static Public Attributes

static const constexpr long ID_UNSET = -1

Detailed Description

Constructor & Destructor Documentation

◆ DiffBridge()

Slic3r::sla::DiffBridge::DiffBridge ( const Vec3d & p_s,
const Vec3d & p_e,
double r_s,
double r_e )
inline
191 : Bridge{p_s, p_e, r_s}, end_r{r_e}
192 {}
Bridge(const Vec3d &j1, const Vec3d &j2, double r_mm=0.8)
Definition SupportTreeBuilder.hpp:178
double end_r
Definition SupportTreeBuilder.hpp:188

References Slic3r::sla::Bridge::Bridge(), and end_r.

Here is the call graph for this function:

Member Function Documentation

◆ get_dir()

Vec3d Slic3r::sla::Bridge::get_dir ( ) const
inlineinherited
184{ return (endp - startp).normalized(); }
Vec3d endp
Definition SupportTreeBuilder.hpp:176
Vec3d startp
Definition SupportTreeBuilder.hpp:176

References endp, and startp.

Referenced by Slic3r::sla::get_mesh().

Here is the caller graph for this function:

◆ get_length()

double Slic3r::sla::Bridge::get_length ( ) const
inlineinherited
183{ return (endp - startp).norm(); }

References endp, and startp.

Referenced by Slic3r::sla::get_mesh().

Here is the caller graph for this function:

Member Data Documentation

◆ end_r

double Slic3r::sla::DiffBridge::end_r

◆ endp

Vec3d Slic3r::sla::Bridge::endp = Vec3d::Zero()
inherited

◆ id

◆ ID_UNSET

◆ r

double Slic3r::sla::Bridge::r = 0.8
inherited

◆ startp

Vec3d Slic3r::sla::Bridge::startp = Vec3d::Zero()
inherited

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