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

#include <topology.hpp>

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

Public Types

typedef convex_topology
< 2 >::point_type 
point_type
 
typedef convex_topology
< 2 >::point_difference_type 
point_difference_type
 

Public Member Functions

 rectangle_topology (double left, double top, double right, double bottom)
 
 rectangle_topology (RandomNumberGenerator &gen, double left, double top, double right, double bottom)
 
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<typename RandomNumberGenerator = minstd_rand>
typedef convex_topology<2>::point_difference_type boost::rectangle_topology< RandomNumberGenerator >::point_difference_type
template<typename RandomNumberGenerator = minstd_rand>
typedef convex_topology<2>::point_type boost::rectangle_topology< RandomNumberGenerator >::point_type

Constructor & Destructor Documentation

template<typename RandomNumberGenerator = minstd_rand>
boost::rectangle_topology< RandomNumberGenerator >::rectangle_topology ( double  left,
double  top,
double  right,
double  bottom 
)
inline
template<typename RandomNumberGenerator = minstd_rand>
boost::rectangle_topology< RandomNumberGenerator >::rectangle_topology ( RandomNumberGenerator &  gen,
double  left,
double  top,
double  right,
double  bottom 
)
inline

Member Function Documentation

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

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