Class Trellis

Class Documentation

class brille::Trellis

Public Functions

Trellis()
Trellis(const std::array<double, 9> &abc, const std::array<std::vector<double>, 3> &bounds)
Trellis(const std::array<double, 9> &abc, const std::array<std::vector<double>, 3> &bounds, const std::vector<TrellisLeaf> &leaves)
size_t node_count()
std::array<size_t, 3> size() const
std::array<size_t, 3> span() const
size_t boundaries(const std::array<std::vector<double>, 3> &xyzb)
size_t boundaries(const std::vector<double> &xb, const std::vector<double> &yb, const std::vector<double> &zb)
size_t xboundaries(const std::vector<double> &xb)
size_t yboundaries(const std::vector<double> &yb)
size_t zboundaries(const std::vector<double> &zb)
std::array<double, 3> x() const
std::array<double, 3> y() const
std::array<double, 3> z() const
std::array<double, 3> x(const std::array<double, 3> &n)
std::array<double, 3> y(const std::array<double, 3> &n)
std::array<double, 3> z(const std::array<double, 3> &n)
const std::array<double, 9> &xyz() const
const std::array<double, 9> &xyz(const std::array<double, 9> &n)
const std::array<double, 9> &xyz(const std::array<double, 3> &nx, const std::array<double, 3> &ny, const std::array<double, 3> &nz)
const std::array<double, 9> &xyz(const std::array<double, 3> &nx, const std::array<double, 3> &ny)
std::array<size_t, 3> node_subscript(const std::array<double, 3> &p) const
std::array<size_t, 3> node_subscript(const bArray<double> &p) const
std::array<size_t, 3> node_subscript(const TrellisLeaf &l) const
template<class T>
size_t node_index(const T &p) const
const std::vector<TrellisLeaf> &node_leaves(const size_t idx) const
const std::vector<TrellisLeaf> &node_leaves(const size_t idx, const std::vector<TrellisLeaf> &l)
const std::vector<TrellisLeaf> &node_leaves(const std::array<double, 3> &p) const
const std::vector<TrellisLeaf> &node_leaves(const bArray<double> &p) const
bool add_leaf(const TrellisLeaf &l)
bool add_leaves(const std::vector<TrellisLeaf> &leaves)
template<class T>
std::vector<size_t> nodes_to_search(const T &p) const
std::string to_string(void) const