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

#include <topology.hpp>

Inheritance diagram for boost::ball_topology< Dims, RandomNumberGenerator >:
Collaboration diagram for boost::ball_topology< Dims, RandomNumberGenerator >:

Public Types

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

Public Member Functions

 ball_topology (double radius=1.0)
 
 ball_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

template<std::size_t Dims, typename RandomNumberGenerator = minstd_rand>
typedef convex_topology<Dims>::point_difference_type boost::ball_topology< Dims, RandomNumberGenerator >::point_difference_type
template<std::size_t Dims, typename RandomNumberGenerator = minstd_rand>
typedef convex_topology<Dims>::point_type boost::ball_topology< Dims, RandomNumberGenerator >::point_type

Constructor & Destructor Documentation

template<std::size_t Dims, typename RandomNumberGenerator = minstd_rand>
boost::ball_topology< Dims, RandomNumberGenerator >::ball_topology ( double  radius = 1.0)
inlineexplicit
template<std::size_t Dims, typename RandomNumberGenerator = minstd_rand>
boost::ball_topology< Dims, RandomNumberGenerator >::ball_topology ( RandomNumberGenerator &  gen,
double  radius = 1.0 
)
inline

Member Function Documentation

template<std::size_t Dims>
point boost::convex_topology< Dims >::adjust ( point  a,
point_difference  delta 
) const
inlineinherited
template<std::size_t Dims, typename RandomNumberGenerator = minstd_rand>
point_type boost::ball_topology< Dims, RandomNumberGenerator >::bound ( point_type  a) const
inline
template<std::size_t Dims, typename RandomNumberGenerator = minstd_rand>
point_type boost::ball_topology< Dims, RandomNumberGenerator >::center ( ) const
inline
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
template<std::size_t Dims, typename RandomNumberGenerator = minstd_rand>
double boost::ball_topology< Dims, RandomNumberGenerator >::distance_from_boundary ( point_type  a) const
inline
template<std::size_t Dims, typename RandomNumberGenerator = minstd_rand>
point_difference_type boost::ball_topology< Dims, RandomNumberGenerator >::extent ( ) const
inline
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
template<std::size_t Dims, typename RandomNumberGenerator = minstd_rand>
point_type boost::ball_topology< Dims, RandomNumberGenerator >::origin ( ) const
inline
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
template<std::size_t Dims, typename RandomNumberGenerator = minstd_rand>
point_type boost::ball_topology< Dims, RandomNumberGenerator >::random_point ( ) const
inline
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: