15#ifndef dealii_boost_adaptor_bounding_box_h
16#define dealii_boost_adaptor_bounding_box_h
25#include <boost/geometry/core/coordinate_dimension.hpp>
26#include <boost/geometry/core/coordinate_system.hpp>
27#include <boost/geometry/core/coordinate_type.hpp>
28#include <boost/geometry/core/cs.hpp>
29#include <boost/geometry/core/tag.hpp>
30#include <boost/geometry/strategies/strategies.hpp>
42 template <
int dim,
class Number>
51 template <
int dim,
class Number>
61 template <
int dim,
class Number, std::
size_t D>
62 struct indexed_access<::
BoundingBox<dim, Number>, min_corner, D>
69 get(const ::BoundingBox<dim, Number> &box)
71 return box.get_boundary_points().first[D];
69 get(const ::BoundingBox<dim, Number> &box) {
…}
62 struct indexed_access<::
BoundingBox<dim, Number>, min_corner, D> {
…};
89 template <
int dim,
class Number, std::
size_t D>
90 struct indexed_access<::
BoundingBox<dim, Number>, max_corner, D>
97 get(const ::BoundingBox<dim, Number> &box)
99 return box.get_boundary_points().second[D];
97 get(const ::BoundingBox<dim, Number> &box) {
…}
90 struct indexed_access<::
BoundingBox<dim, Number>, max_corner, D> {
…};
35 namespace geometry {
…}
std::pair< Point< spacedim, Number >, Point< spacedim, Number > > & get_boundary_points()
#define DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
#define DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
static double get(const ::BoundingBox< dim, Number > &box)
static void set(::BoundingBox< dim, Number > &box, Number value)
static void set(::BoundingBox< dim, Number > &box, Number value)
static double get(const ::BoundingBox< dim, Number > &box)