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

#include <src/libslic3r/BranchingTree/BranchingTree.hpp>

+ Collaboration diagram for Slic3r::branchingtree::Node:

Public Member Functions

 Node (const Vec3f &p, float r_min=.0f)
 

Public Attributes

int id = ID_NONE
 
int left = ID_NONE
 
int right = ID_NONE
 
Vec3f pos
 
float Rmin = 0.f
 
float weight = 0.f
 

Static Public Attributes

static constexpr int ID_NONE = -1
 

Detailed Description

Constructor & Destructor Documentation

◆ Node()

Slic3r::branchingtree::Node::Node ( const Vec3f p,
float  r_min = .0f 
)
inline
76 : pos{p}, Rmin{r_min}, weight{0.f}
77 {}
float Rmin
Definition BranchingTree.hpp:70
Vec3f pos
Definition BranchingTree.hpp:69
float weight
Definition BranchingTree.hpp:74

Member Data Documentation

◆ id

◆ ID_NONE

◆ left

◆ pos

◆ right

◆ Rmin

float Slic3r::branchingtree::Node::Rmin = 0.f

◆ weight


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