SheafSystem  0.0.0.0
geometry::d_bounding_box< DC, DB > Class Template Reference

A bounding box that can be strung together into a list. More...

#include <d_bounding_box.h>

Public Types

typedef sheaf::size_type size_type
 An unsigned integral type used to represent sizes and capacities. More...
 

CANONICAL FACET

 d_bounding_box ()
 Default constructor. More...
 
 d_bounding_box (const d_bounding_box< DC, DB > &xbox)
 Copy constructor. More...
 
d_bounding_box< DC, DB > & operator= (const d_bounding_box< DC, DB > &xbox)
 Assignment operator. More...
 
 ~d_bounding_box ()
 Destructor. More...
 
bool invariant () const
 Class invariant. More...
 
bool operator== (const d_bounding_box< DC, DB > &xbox) const
 Equality operator. More...
 

D_BOUNDING_BOX FACET

bool contains_point (const d_bin_coordinates< DC, DB > &xpt) const
 True if this contains point xpt. More...
 
void to_stream (std::ostream &xos) const
 Insert this into stream xos. More...
 
const d_bin_coordinates< DC, DB > & lb () const
 The lower bound; the lower, left, front corner. More...
 
void put_lb (const d_bin_coordinates< DC, DB > &xlb)
 Copies the contents of xlb to lb(). More...
 
const d_bin_coordinates< DC, DB > & ub () const
 The upper bound; the upper, right, rear corner. More...
 
void put_ub (const d_bin_coordinates< DC, DB > &xub)
 Copies the contents of xub to ub(). More...
 
const scoped_indexmember_id () const
 Index of the evaluation member this bounds. More...
 
void put_member_id (const scoped_index &xid)
 Sets member_id() to xid. More...
 
const scoped_indexbranch_id () const
 Index of the branch that contains the evaluation member this bounds. More...
 
void put_branch_id (const scoped_index &xid)
 Sets branch_id() to xid. More...
 
section_evaluatorevaluator () const
 Evaluator for the evaluation member this bounds. More...
 
void put_evaluator (section_evaluator *xevaluator)
 Sets evaluator() to xevaluator. More...
 
size_type dofs_index () const
 Index into the gathered dofs array for the evaluation member this bounds. More...
 
void put_dofs_index (size_type xindex)
 Sets dofs_index() to xindex. More...
 
size_type dof_ct () const
 The number of dofs in the gathered dofs array for the evaluation member this bounds. More...
 
void put_dof_ct (size_type xct)
 Sets dof_ct() to xct. More...
 
void size_pa (d_bin_coordinates< DC, DB > &xresult) const
 The size of each side of the box; pre-allocated. More...
 
static int dc ()
 The number of spatial dimensions. More...
 

Detailed Description

template<int DC, int DB>
class geometry::d_bounding_box< DC, DB >

A bounding box that can be strung together into a list.

Definition at line 36 of file array_cylindrical_point_locator.h.

Member Typedef Documentation

◆ size_type

template<int DC, int DB>
typedef sheaf::size_type geometry::d_bounding_box< DC, DB >::size_type

An unsigned integral type used to represent sizes and capacities.

Definition at line 66 of file d_bounding_box.h.

Constructor & Destructor Documentation

◆ d_bounding_box() [1/2]

template<int DC, int DB>
geometry::d_bounding_box< DC, DB >::d_bounding_box ( )

Default constructor.

Postcondition
  • !member_id().is_valid()

Definition at line 47 of file d_bounding_box.impl.h.

References sheaf::is_valid().

◆ d_bounding_box() [2/2]

◆ ~d_bounding_box()

template<int DC, int DB>
geometry::d_bounding_box< DC, DB >::~d_bounding_box ( )

Member Function Documentation

◆ branch_id()

template<int DC, int DB>
const scoped_index & geometry::d_bounding_box< DC, DB >::branch_id ( ) const

◆ contains_point()

◆ dc()

template<int DC, int DB>
int geometry::d_bounding_box< DC, DB >::dc ( )
static

The number of spatial dimensions.

Postcondition
  • result == DC

Definition at line 467 of file d_bounding_box.impl.h.

Referenced by geometry::d_bounding_box< DC, DB >::size_pa().

◆ dof_ct()

◆ dofs_index()

◆ evaluator()

◆ invariant()

template<int DC, int DB>
bool geometry::d_bounding_box< DC, DB >::invariant ( ) const

◆ lb()

◆ member_id()

◆ operator=()

◆ operator==()

template<int DC, int DB>
bool geometry::d_bounding_box< DC, DB >::operator== ( const d_bounding_box< DC, DB > &  xbox) const

Equality operator.

Postcondition

Definition at line 146 of file d_bounding_box.impl.h.

References geometry::d_bounding_box< DC, DB >::contains_point().

Referenced by geometry::d_bounding_box< DC, DB >::invariant().

◆ put_branch_id()

◆ put_dof_ct()

◆ put_dofs_index()

◆ put_evaluator()

◆ put_lb()

◆ put_member_id()

◆ put_ub()

◆ size_pa()

template<int DC, int DB>
void geometry::d_bounding_box< DC, DB >::size_pa ( d_bin_coordinates< DC, DB > &  xresult) const

The size of each side of the box; pre-allocated.

Definition at line 447 of file d_bounding_box.impl.h.

References geometry::d_bounding_box< DC, DB >::dc().

Referenced by geometry::d_bounding_box< DC, DB >::put_dof_ct().

◆ to_stream()

template<int DC, int DB>
void geometry::d_bounding_box< DC, DB >::to_stream ( std::ostream &  xos) const

Insert this into stream xos.

Postcondition

Definition at line 201 of file d_bounding_box.impl.h.

References geometry::d_bounding_box< DC, DB >::lb().

Referenced by geometry::d_bounding_box< DC, DB >::contains_point().

◆ ub()


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