OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::AABBTreeIndirect::Tree< ANumDimensions, ACoordType >::Node Struct Reference

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

Public Member Functions

bool is_valid () const
bool is_inner () const
bool is_leaf () const
template<typename SourceNode>
void set (const SourceNode &rhs)

Public Attributes

size_t idx = npos
BoundingBox bbox

Detailed Description

template<int ANumDimensions, typename ACoordType>
struct Slic3r::AABBTreeIndirect::Tree< ANumDimensions, ACoordType >::Node

Member Function Documentation

◆ is_inner()

template<int ANumDimensions, typename ACoordType>
bool Slic3r::AABBTreeIndirect::Tree< ANumDimensions, ACoordType >::Node::is_inner ( ) const
inline
69{ return this->idx == inner; }
Definition AABBTreeIndirect.hpp:45
size_t idx
Definition AABBTreeIndirect.hpp:63

References Slic3r::AABBTreeIndirect::Tree< ANumDimensions, ACoordType >::inner.

Referenced by is_leaf().

Here is the caller graph for this function:

◆ is_leaf()

template<int ANumDimensions, typename ACoordType>
bool Slic3r::AABBTreeIndirect::Tree< ANumDimensions, ACoordType >::Node::is_leaf ( ) const
inline
70{ return ! this->is_inner(); }
bool is_inner() const
Definition AABBTreeIndirect.hpp:69

References is_inner().

Referenced by Slic3r::AABBTreeIndirect::Within< Eigen::AlignedBox< CoordType, NumD > >::operator()(), and Slic3r::AABBTreeIndirect::detail::traverse_recurse().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ is_valid()

template<int ANumDimensions, typename ACoordType>
bool Slic3r::AABBTreeIndirect::Tree< ANumDimensions, ACoordType >::Node::is_valid ( ) const
inline
68{ return this->idx != npos; }

References Slic3r::AABBTreeIndirect::Tree< ANumDimensions, ACoordType >::npos.

Referenced by Slic3r::AABBTreeIndirect::detail::traverse_recurse().

Here is the caller graph for this function:

◆ set()

template<int ANumDimensions, typename ACoordType>
template<typename SourceNode>
void Slic3r::AABBTreeIndirect::Tree< ANumDimensions, ACoordType >::Node::set ( const SourceNode & rhs)
inline
73 {
74 this->idx = rhs.idx();
75 this->bbox = rhs.bbox();
76 }
BoundingBox bbox
Definition AABBTreeIndirect.hpp:66

Member Data Documentation

◆ bbox

◆ idx

template<int ANumDimensions, typename ACoordType>
size_t Slic3r::AABBTreeIndirect::Tree< ANumDimensions, ACoordType >::Node::idx = npos

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