Rosetta
Public Member Functions | Private Attributes | List of all members
SphereNode Class Reference

#include <SphereSample.hh>

Public Member Functions

 SphereNode (int level, numeric::xyzVector< core::Real > axis)
 
void reserve_child ()
 
void add_child (SphereNode const *c)
 
void add_neighbor (SphereNode const *n)
 
void add_parent (SphereNode const *p)
 
core::Size num_children () const
 
core::Size num_neighbor () const
 
core::Size num_parents () const
 
SphereNode const & child (core::Size i) const
 
SphereNode const & neighbor (core::Size i) const
 
SphereNode const & parent (core::Size i) const
 
int level () const
 
numeric::xyzVector< core::Real > const & axis () const
 

Private Attributes

int const level_
 
numeric::xyzVector< core::Real > const axis_
 
utility::vector1< SphereNode const * > parents_
 
utility::vector1< SphereNode const * > children_
 
utility::vector1< SphereNode const * > neighbors_
 

Constructor & Destructor Documentation

◆ SphereNode()

SphereNode::SphereNode ( int  level,
numeric::xyzVector< core::Real axis 
)
inline

References neighbors_.

Member Function Documentation

◆ add_child()

void SphereNode::add_child ( SphereNode const *  c)
inline

◆ add_neighbor()

void SphereNode::add_neighbor ( SphereNode const *  n)
inline

◆ add_parent()

void SphereNode::add_parent ( SphereNode const *  p)
inline

◆ axis()

numeric::xyzVector<core::Real> const& SphereNode::axis ( ) const
inline

References axis_.

◆ child()

SphereNode const& SphereNode::child ( core::Size  i) const
inline

References children_, and create_a3b_hbs::i.

◆ level()

int SphereNode::level ( ) const
inline

◆ neighbor()

SphereNode const& SphereNode::neighbor ( core::Size  i) const
inline

References create_a3b_hbs::i, and neighbors_.

◆ num_children()

core::Size SphereNode::num_children ( ) const
inline

References children_.

◆ num_neighbor()

core::Size SphereNode::num_neighbor ( ) const
inline

References neighbors_.

◆ num_parents()

core::Size SphereNode::num_parents ( ) const
inline

References parents_.

◆ parent()

SphereNode const& SphereNode::parent ( core::Size  i) const
inline

References create_a3b_hbs::i, and parents_.

◆ reserve_child()

void SphereNode::reserve_child ( )
inline

References children_.

Member Data Documentation

◆ axis_

numeric::xyzVector<core::Real> const SphereNode::axis_
private

Referenced by axis().

◆ children_

utility::vector1<SphereNode const *> SphereNode::children_
private

◆ level_

int const SphereNode::level_
private

Referenced by level().

◆ neighbors_

utility::vector1<SphereNode const *> SphereNode::neighbors_
private

◆ parents_

utility::vector1<SphereNode const *> SphereNode::parents_
private

Referenced by add_parent(), num_parents(), and parent().


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