SheafSystem
0.0.0.0
|
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_index & | member_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_index & | branch_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_evaluator * | evaluator () 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... | |
A bounding box that can be strung together into a list.
Definition at line 36 of file array_cylindrical_point_locator.h.
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.
geometry::d_bounding_box< DC, DB >::d_bounding_box | ( | ) |
Default constructor.
Definition at line 47 of file d_bounding_box.impl.h.
References sheaf::is_valid().
geometry::d_bounding_box< DC, DB >::d_bounding_box | ( | const d_bounding_box< DC, DB > & | xbox | ) |
Copy constructor.
Definition at line 73 of file d_bounding_box.impl.h.
References geometry::d_bounding_box< DC, DB >::dof_ct(), geometry::d_bounding_box< DC, DB >::dofs_index(), geometry::d_bounding_box< DC, DB >::evaluator(), geometry::d_bounding_box< DC, DB >::lb(), geometry::d_bounding_box< DC, DB >::member_id(), geometry::d_bounding_box< DC, DB >::operator=(), and geometry::d_bounding_box< DC, DB >::ub().
geometry::d_bounding_box< DC, DB >::~d_bounding_box | ( | ) |
Destructor.
Definition at line 126 of file d_bounding_box.impl.h.
References geometry::d_bounding_box< DC, DB >::invariant().
Referenced by geometry::d_bounding_box< DC, DB >::operator=().
const scoped_index & geometry::d_bounding_box< DC, DB >::branch_id | ( | ) | const |
Index of the branch that contains the evaluation member this bounds.
Definition at line 315 of file d_bounding_box.impl.h.
References geometry::d_bounding_box< DC, DB >::put_branch_id().
Referenced by geometry::d_bin_point_locator< DC, DB >::branch_points_at_value(), geometry::cylindrical_point_locator::branch_points_at_value(), and geometry::d_bounding_box< DC, DB >::put_member_id().
bool geometry::d_bounding_box< DC, DB >::contains_point | ( | const d_bin_coordinates< DC, DB > & | xpt | ) | const |
True if this contains point xpt.
Definition at line 181 of file d_bounding_box.impl.h.
References geometry::d_bounding_box< DC, DB >::to_stream().
Referenced by geometry::d_bin_point_locator< DC, DB >::all_points_at_value(), geometry::cylindrical_point_locator::all_points_at_value(), geometry::d_bin_point_locator< DC, DB >::branch_points_at_value(), geometry::cylindrical_point_locator::branch_points_at_value(), geometry::d_bounding_box< DC, DB >::operator==(), geometry::d_bin_point_locator< DC, DB >::point_at_value(), and geometry::cylindrical_point_locator::point_at_value().
|
static |
The number of spatial dimensions.
Definition at line 467 of file d_bounding_box.impl.h.
Referenced by geometry::d_bounding_box< DC, DB >::size_pa().
size_type geometry::d_bounding_box< DC, DB >::dof_ct | ( | ) | const |
The number of dofs in the gathered dofs array for the evaluation member this bounds.
Definition at line 414 of file d_bounding_box.impl.h.
References geometry::d_bounding_box< DC, DB >::put_dof_ct().
Referenced by geometry::d_bin_point_locator< DC, DB >::all_points_at_value(), geometry::cylindrical_point_locator::all_points_at_value(), geometry::d_bin_point_locator< DC, DB >::branch_points_at_value(), geometry::cylindrical_point_locator::branch_points_at_value(), geometry::d_bounding_box< DC, DB >::d_bounding_box(), geometry::d_bounding_box< DC, DB >::operator=(), geometry::d_bin_point_locator< DC, DB >::point_at_value(), geometry::cylindrical_point_locator::point_at_value(), and geometry::d_bounding_box< DC, DB >::put_dofs_index().
size_type geometry::d_bounding_box< DC, DB >::dofs_index | ( | ) | const |
Index into the gathered dofs array for the evaluation member this bounds.
Definition at line 381 of file d_bounding_box.impl.h.
References geometry::d_bounding_box< DC, DB >::put_dofs_index().
Referenced by geometry::d_bin_point_locator< DC, DB >::all_points_at_value(), geometry::cylindrical_point_locator::all_points_at_value(), geometry::d_bin_point_locator< DC, DB >::branch_points_at_value(), geometry::cylindrical_point_locator::branch_points_at_value(), geometry::d_bounding_box< DC, DB >::d_bounding_box(), geometry::line_surface_intersecter::intersect(), geometry::d_bounding_box< DC, DB >::operator=(), geometry::d_bin_point_locator< DC, DB >::point_at_value(), geometry::cylindrical_point_locator::point_at_value(), geometry::d_bounding_box< DC, DB >::put_evaluator(), and geometry::d_bin_point_locator< DC, DB >::update_box().
section_evaluator * geometry::d_bounding_box< DC, DB >::evaluator | ( | ) | const |
Evaluator for the evaluation member this bounds.
Definition at line 348 of file d_bounding_box.impl.h.
References geometry::d_bounding_box< DC, DB >::put_evaluator().
Referenced by geometry::d_bin_point_locator< DC, DB >::all_points_at_value(), geometry::cylindrical_point_locator::all_points_at_value(), geometry::d_bin_point_locator< DC, DB >::branch_points_at_value(), geometry::cylindrical_point_locator::branch_points_at_value(), geometry::d_bounding_box< DC, DB >::d_bounding_box(), geometry::d_bounding_box< DC, DB >::operator=(), geometry::d_bin_point_locator< DC, DB >::point_at_value(), geometry::cylindrical_point_locator::point_at_value(), geometry::d_bounding_box< DC, DB >::put_branch_id(), and geometry::d_bin_point_locator< DC, DB >::update_box().
bool geometry::d_bounding_box< DC, DB >::invariant | ( | ) | const |
Class invariant.
Definition at line 135 of file d_bounding_box.impl.h.
References geometry::d_bounding_box< DC, DB >::operator==().
Referenced by geometry::d_bounding_box< DC, DB >::~d_bounding_box().
const d_bin_coordinates< DC, DB > & geometry::d_bounding_box< DC, DB >::lb | ( | ) | const |
The lower bound; the lower, left, front corner.
Definition at line 226 of file d_bounding_box.impl.h.
References geometry::d_bounding_box< DC, DB >::put_lb().
Referenced by geometry::d_array_point_locator< DC, DB >::box_list(), geometry::d_array_point_locator< DC, DB >::contains_box(), geometry::array_cylindrical_point_locator::contains_box(), geometry::d_bounding_box< DC, DB >::d_bounding_box(), geometry::d_array_point_locator< DC, DB >::insert_box(), geometry::array_cylindrical_point_locator::insert_box(), geometry::d_tree_point_locator_path< DC, DB >::intersects(), geometry::d_bounding_box< DC, DB >::operator=(), geometry::array_cylindrical_point_locator::remove_box(), geometry::d_array_point_locator< DC, DB >::remove_box(), and geometry::d_bounding_box< DC, DB >::to_stream().
const scoped_index & geometry::d_bounding_box< DC, DB >::member_id | ( | ) | const |
Index of the evaluation member this bounds.
Definition at line 282 of file d_bounding_box.impl.h.
References geometry::d_bounding_box< DC, DB >::put_member_id().
Referenced by geometry::d_bin_point_locator< DC, DB >::all_points_at_value(), geometry::cylindrical_point_locator::all_points_at_value(), geometry::d_bin_point_locator< DC, DB >::branch_points_at_value(), geometry::cylindrical_point_locator::branch_points_at_value(), geometry::d_bounding_box< DC, DB >::d_bounding_box(), geometry::d_bounding_box< DC, DB >::operator=(), geometry::d_bin_point_locator< DC, DB >::point_at_value(), geometry::cylindrical_point_locator::point_at_value(), and geometry::d_bounding_box< DC, DB >::put_ub().
d_bounding_box< DC, DB > & geometry::d_bounding_box< DC, DB >::operator= | ( | const d_bounding_box< DC, DB > & | xbox | ) |
Assignment operator.
Definition at line 95 of file d_bounding_box.impl.h.
References geometry::d_bounding_box< DC, DB >::dof_ct(), geometry::d_bounding_box< DC, DB >::dofs_index(), geometry::d_bounding_box< DC, DB >::evaluator(), geometry::d_bounding_box< DC, DB >::lb(), geometry::d_bounding_box< DC, DB >::member_id(), geometry::d_bounding_box< DC, DB >::ub(), and geometry::d_bounding_box< DC, DB >::~d_bounding_box().
Referenced by geometry::d_bounding_box< DC, DB >::d_bounding_box().
bool geometry::d_bounding_box< DC, DB >::operator== | ( | const d_bounding_box< DC, DB > & | xbox | ) | const |
Equality operator.
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().
void geometry::d_bounding_box< DC, DB >::put_branch_id | ( | const scoped_index & | xid | ) |
Sets branch_id() to xid.
Definition at line 331 of file d_bounding_box.impl.h.
References geometry::d_bounding_box< DC, DB >::evaluator().
Referenced by geometry::d_bin_point_locator< DC, DB >::assign_box(), geometry::d_bounding_box< DC, DB >::branch_id(), geometry::cylindrical_point_locator::make_quad_bounding_box(), geometry::cylindrical_point_locator::make_triangle_bounding_box(), and geometry::d_bin_point_locator< DC, DB >::update().
void geometry::d_bounding_box< DC, DB >::put_dof_ct | ( | size_type | xct | ) |
Sets dof_ct() to xct.
Definition at line 430 of file d_bounding_box.impl.h.
References geometry::d_bounding_box< DC, DB >::size_pa().
Referenced by geometry::d_bin_point_locator< DC, DB >::assign_box(), geometry::d_bounding_box< DC, DB >::dof_ct(), geometry::cylindrical_point_locator::make_quad_bounding_box(), geometry::cylindrical_point_locator::make_triangle_bounding_box(), and geometry::d_bin_point_locator< DC, DB >::update().
void geometry::d_bounding_box< DC, DB >::put_dofs_index | ( | size_type | xindex | ) |
Sets dofs_index() to xindex.
Definition at line 397 of file d_bounding_box.impl.h.
References geometry::d_bounding_box< DC, DB >::dof_ct().
Referenced by geometry::d_bin_point_locator< DC, DB >::assign_box(), geometry::d_bounding_box< DC, DB >::dofs_index(), geometry::cylindrical_point_locator::make_quad_bounding_box(), geometry::cylindrical_point_locator::make_triangle_bounding_box(), and geometry::d_bin_point_locator< DC, DB >::update().
void geometry::d_bounding_box< DC, DB >::put_evaluator | ( | section_evaluator * | xevaluator | ) |
Sets evaluator() to xevaluator.
Definition at line 364 of file d_bounding_box.impl.h.
References geometry::d_bounding_box< DC, DB >::dofs_index().
Referenced by geometry::d_bin_point_locator< DC, DB >::assign_box(), geometry::d_bounding_box< DC, DB >::evaluator(), geometry::cylindrical_point_locator::make_quad_bounding_box(), geometry::cylindrical_point_locator::make_triangle_bounding_box(), and geometry::d_bin_point_locator< DC, DB >::update().
void geometry::d_bounding_box< DC, DB >::put_lb | ( | const d_bin_coordinates< DC, DB > & | xlb | ) |
Copies the contents of xlb to lb().
Definition at line 234 of file d_bounding_box.impl.h.
References geometry::d_bounding_box< DC, DB >::ub().
Referenced by geometry::d_bin_point_locator< DC, DB >::assign_box(), geometry::line_surface_intersecter::intersect(), geometry::d_bounding_box< DC, DB >::lb(), geometry::cylindrical_point_locator::make_quad_bounding_box(), geometry::cylindrical_point_locator::make_triangle_bounding_box(), geometry::d_bin_point_locator< DC, DB >::update(), and geometry::d_bin_point_locator< DC, DB >::update_box().
void geometry::d_bounding_box< DC, DB >::put_member_id | ( | const scoped_index & | xid | ) |
Sets member_id() to xid.
Definition at line 298 of file d_bounding_box.impl.h.
References geometry::d_bounding_box< DC, DB >::branch_id().
Referenced by geometry::d_bin_point_locator< DC, DB >::assign_box(), geometry::cylindrical_point_locator::make_quad_bounding_box(), geometry::cylindrical_point_locator::make_triangle_bounding_box(), geometry::d_bounding_box< DC, DB >::member_id(), and geometry::d_bin_point_locator< DC, DB >::update().
void geometry::d_bounding_box< DC, DB >::put_ub | ( | const d_bin_coordinates< DC, DB > & | xub | ) |
Copies the contents of xub to ub().
Definition at line 262 of file d_bounding_box.impl.h.
References geometry::d_bounding_box< DC, DB >::member_id().
Referenced by geometry::d_bin_point_locator< DC, DB >::assign_box(), geometry::line_surface_intersecter::intersect(), geometry::cylindrical_point_locator::make_quad_bounding_box(), geometry::cylindrical_point_locator::make_triangle_bounding_box(), geometry::d_bounding_box< DC, DB >::ub(), geometry::d_bin_point_locator< DC, DB >::update(), and geometry::d_bin_point_locator< DC, DB >::update_box().
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().
void geometry::d_bounding_box< DC, DB >::to_stream | ( | std::ostream & | xos | ) | const |
Insert this into stream xos.
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().
const d_bin_coordinates< DC, DB > & geometry::d_bounding_box< DC, DB >::ub | ( | ) | const |
The upper bound; the upper, right, rear corner.
Definition at line 254 of file d_bounding_box.impl.h.
References geometry::d_bounding_box< DC, DB >::put_ub().
Referenced by geometry::d_array_point_locator< DC, DB >::box_list(), geometry::d_bounding_box< DC, DB >::d_bounding_box(), geometry::d_array_point_locator< DC, DB >::insert_box(), geometry::array_cylindrical_point_locator::insert_box(), geometry::d_tree_point_locator_path< DC, DB >::intersects(), geometry::d_bounding_box< DC, DB >::operator=(), geometry::d_bounding_box< DC, DB >::put_lb(), geometry::array_cylindrical_point_locator::remove_box(), and geometry::d_array_point_locator< DC, DB >::remove_box().