BWAPI
Public Types | Public Member Functions
_One_root_number< NumberType_, Filter_ > Class Template Reference

#include <One_root_number.h>

List of all members.

Public Types

typedef NumberType_ NT
typedef _One_root_number< NT,
Filter_ > 
Self

Public Member Functions

 _One_root_number ()
 _One_root_number (const NT &val)
 _One_root_number (const NT &a, const NT &b, const NT &c)
Self operator- () const
Self operator+ (const NT &val) const
Self operator- (const NT &val) const
Self operator* (const NT &val) const
Self operator/ (const NT &val) const
void operator+= (const NT &val)
void operator-= (const NT &val)
void operator*= (const NT &val)
void operator/= (const NT &val)
NT alpha () const
NT beta () const
NT gamma () const
bool is_rational () const
CGAL::Sign _sign () const

template<class NumberType_, bool Filter_ = true>
class _One_root_number< NumberType_, Filter_ >


Member Typedef Documentation

template<class NumberType_, bool Filter_ = true>
typedef NumberType_ _One_root_number< NumberType_, Filter_ >::NT
template<class NumberType_, bool Filter_ = true>
typedef _One_root_number<NT, Filter_> _One_root_number< NumberType_, Filter_ >::Self

Constructor & Destructor Documentation

template<class NumberType_, bool Filter_ = true>
_One_root_number< NumberType_, Filter_ >::_One_root_number ( ) [inline]

Default constructor.

template<class NumberType_, bool Filter_ = true>
_One_root_number< NumberType_, Filter_ >::_One_root_number ( const NT val) [inline]

Constructor from a rational number.

template<class NumberType_, bool Filter_ = true>
_One_root_number< NumberType_, Filter_ >::_One_root_number ( const NT a,
const NT b,
const NT c 
) [inline]

Construct the one-root number a + b*sqrt(c).


Member Function Documentation

template<class NumberType_, bool Filter_ = true>
CGAL::Sign _One_root_number< NumberType_, Filter_ >::_sign ( ) const [inline]

Here is the caller graph for this function:

template<class NumberType_, bool Filter_ = true>
NT _One_root_number< NumberType_, Filter_ >::alpha ( ) const [inline]

Here is the caller graph for this function:

template<class NumberType_, bool Filter_ = true>
NT _One_root_number< NumberType_, Filter_ >::beta ( ) const [inline]

Here is the caller graph for this function:

template<class NumberType_, bool Filter_ = true>
NT _One_root_number< NumberType_, Filter_ >::gamma ( ) const [inline]

Here is the caller graph for this function:

template<class NumberType_, bool Filter_ = true>
bool _One_root_number< NumberType_, Filter_ >::is_rational ( ) const [inline]

Here is the caller graph for this function:

template<class NumberType_, bool Filter_ = true>
Self _One_root_number< NumberType_, Filter_ >::operator* ( const NT val) const [inline]

Multiply by a rational number.

template<class NumberType_, bool Filter_ = true>
void _One_root_number< NumberType_, Filter_ >::operator*= ( const NT val) [inline]

Multiply and assign by a rational number.

template<class NumberType_, bool Filter_ = true>
Self _One_root_number< NumberType_, Filter_ >::operator+ ( const NT val) const [inline]

Add a rational number.

template<class NumberType_, bool Filter_ = true>
void _One_root_number< NumberType_, Filter_ >::operator+= ( const NT val) [inline]

Add and assign a rational number.

template<class NumberType_, bool Filter_ = true>
Self _One_root_number< NumberType_, Filter_ >::operator- ( ) const [inline]

Unary minus.

template<class NumberType_, bool Filter_ = true>
Self _One_root_number< NumberType_, Filter_ >::operator- ( const NT val) const [inline]

Subtract a rational number.

template<class NumberType_, bool Filter_ = true>
void _One_root_number< NumberType_, Filter_ >::operator-= ( const NT val) [inline]

Subtract and assign a rational number.

template<class NumberType_, bool Filter_ = true>
Self _One_root_number< NumberType_, Filter_ >::operator/ ( const NT val) const [inline]

Divide by a rational number.

template<class NumberType_, bool Filter_ = true>
void _One_root_number< NumberType_, Filter_ >::operator/= ( const NT val) [inline]

Divide and assign by a rational number.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines