Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::sphere_topology< RandomNumberGenerator > Class Template Reference

#include <topology.hpp>

Inheritance diagram for boost::sphere_topology< RandomNumberGenerator >:
Collaboration diagram for boost::sphere_topology< RandomNumberGenerator >:

Public Types

typedef convex_topology< Dims >
::point_type 
point_type
 
typedef convex_topology< Dims >
::point_difference_type 
point_difference_type
 

Public Member Functions

 sphere_topology (double radius=1.0)
 
 sphere_topology (RandomNumberGenerator &gen, double radius=1.0)
 
point_type random_point () const
 
point_type bound (point_type a) const
 
double distance_from_boundary (point_type a) const
 
point_type center () const
 
point_type origin () const
 
point_difference_type extent () const
 
double distance (point a, point b) const
 
point move_position_toward (point a, double fraction, point b) const
 
point_difference difference (point a, point b) const
 
point adjust (point a, point_difference delta) const
 
point pointwise_min (point a, point b) const
 
point pointwise_max (point a, point b) const
 
double norm (point_difference delta) const
 
double volume (point_difference delta) const
 

Member Typedef Documentation

typedef convex_topology<Dims>::point_difference_type boost::ball_topology< Dims, RandomNumberGenerator >::point_difference_type
inherited
typedef convex_topology<Dims>::point_type boost::ball_topology< Dims, RandomNumberGenerator >::point_type
inherited

Constructor & Destructor Documentation

template<typename RandomNumberGenerator = minstd_rand>
boost::sphere_topology< RandomNumberGenerator >::sphere_topology ( double  radius = 1.0)
inlineexplicit

References boost::radius().

template<typename RandomNumberGenerator = minstd_rand>
boost::sphere_topology< RandomNumberGenerator >::sphere_topology ( RandomNumberGenerator &  gen,
double  radius = 1.0 
)
inline

References boost::radius().

Member Function Documentation

template<std::size_t Dims>
point boost::convex_topology< Dims >::adjust ( point  a,
point_difference  delta 
) const
inlineinherited
point_type boost::ball_topology< Dims, RandomNumberGenerator >::center ( ) const
inlineinherited
template<std::size_t Dims>
point_difference boost::convex_topology< Dims >::difference ( point  a,
point  b 
) const
inlineinherited
template<std::size_t Dims>
double boost::convex_topology< Dims >::distance ( point  a,
point  b 
) const
inlineinherited
double boost::ball_topology< Dims, RandomNumberGenerator >::distance_from_boundary ( point_type  a) const
inlineinherited
point_difference_type boost::ball_topology< Dims, RandomNumberGenerator >::extent ( ) const
inlineinherited
template<std::size_t Dims>
point boost::convex_topology< Dims >::move_position_toward ( point  a,
double  fraction,
point  b 
) const
inlineinherited
template<std::size_t Dims>
double boost::convex_topology< Dims >::norm ( point_difference  delta) const
inlineinherited
point_type boost::ball_topology< Dims, RandomNumberGenerator >::origin ( ) const
inlineinherited
template<std::size_t Dims>
point boost::convex_topology< Dims >::pointwise_max ( point  a,
point  b 
) const
inlineinherited
template<std::size_t Dims>
point boost::convex_topology< Dims >::pointwise_min ( point  a,
point  b 
) const
inlineinherited
point_type boost::ball_topology< Dims, RandomNumberGenerator >::random_point ( ) const
inlineinherited
template<std::size_t Dims>
double boost::convex_topology< Dims >::volume ( point_difference  delta) const
inlineinherited

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