TwiceAsNice  2019-02-18
Public Member Functions | Private Member Functions | Static Private Member Functions | Friends | List of all members
Nice::NPoint Class Reference

#include <NPoint.h>

Inheritance diagram for Nice::NPoint:
Inheritance graph
Collaboration diagram for Nice::NPoint:
Collaboration graph

Public Member Functions

 NPoint ()
 
 NPoint (size_t _s, double _d=0.0)
 
 NPoint (double _v)
 
 NPoint (const Nice::NPointVar &_p)
 
 NPoint (const Nice::PointVar &_p)
 
template<typename Type >
Type get () const
 
bool isNull () const
 
std::string toString () const
 
double p (size_t _i) const
 
void set (const NPointVar &_np)
 
void set (double _v)
 
void set (double _v1, double _v2)
 
void set (double _v1, double _v2, double _v3)
 
void setP (size_t _i, double _np)
 
NPointVarr ()
 
double max () const
 
double min () const
 
double absmax () const
 
double absmin () const
 
Nice::NPoint round () const
 
NPointoperator+= (double c)
 
NPointoperator-= (double c)
 
NPointoperator*= (double c)
 
NPointoperator/= (double c)
 
NPointoperator+= (const NPoint &p)
 
NPointoperator-= (const NPoint &p)
 
NPointoperator*= (const NPoint &p)
 
NPointoperator/= (const NPoint &p)
 
 NPoint ()
 
 NPoint (size_t _s, double _d=0.0)
 
 NPoint (double _v)
 
 NPoint (const Nice::NPointVar &_p)
 
 NPoint (const Nice::PointVar &_p)
 
template<typename Type >
Type get () const
 
bool isNull () const
 
std::string toString () const
 
double p (size_t _i) const
 
void set (const NPointVar &_np)
 
void set (double _v)
 
void set (double _v1, double _v2)
 
void set (double _v1, double _v2, double _v3)
 
void setP (size_t _i, double _np)
 
NPointVarr ()
 
double max () const
 
double min () const
 
double absmax () const
 
double absmin () const
 
Nice::NPoint round () const
 
NPointoperator+= (double c)
 
NPointoperator-= (double c)
 
NPointoperator*= (double c)
 
NPointoperator/= (double c)
 
NPointoperator+= (const NPoint &p)
 
NPointoperator-= (const NPoint &p)
 
NPointoperator*= (const NPoint &p)
 
NPointoperator/= (const NPoint &p)
 
template<>
double get () const
 
template<>
double get () const
 
template<>
Nice::Point get () const
 
template<>
Nice::NPoint get () const
 

Private Member Functions

 NPoint (double, int)
 
 NPoint (double, int)
 

Static Private Member Functions

static bool _absless (int i, int j)
 
static bool _absless (int i, int j)
 

Friends

bool operator== (const NPoint &, const NPoint &)
 
bool operator!= (const NPoint &, const NPoint &)
 
bool operator< (const NPoint &, const NPoint &)
 
bool operator> (const NPoint &, const NPoint &)
 
NPoint operator+ (const NPoint &, double)
 
NPoint operator+ (double, const NPoint &)
 
NPoint operator+ (const NPoint &, const NPoint &)
 
NPoint operator- (double, const NPoint &)
 
NPoint operator- (const NPoint &, double)
 
NPoint operator- (const NPoint &, const NPoint &)
 
NPoint operator* (double, const NPoint &)
 
NPoint operator* (const NPoint &, double)
 
NPoint operator* (const NPoint &, const NPoint &)
 
NPoint operator/ (double, const NPoint &)
 
NPoint operator/ (const NPoint &, double)
 
NPoint operator/ (const NPoint &, const NPoint &)
 
bool operator== (const NPoint &, const NPoint &)
 
bool operator!= (const NPoint &, const NPoint &)
 
bool operator< (const NPoint &, const NPoint &)
 
bool operator> (const NPoint &, const NPoint &)
 
NPoint operator+ (const NPoint &, double)
 
NPoint operator+ (double, const NPoint &)
 
NPoint operator+ (const NPoint &, const NPoint &)
 
NPoint operator- (double, const NPoint &)
 
NPoint operator- (const NPoint &, double)
 
NPoint operator- (const NPoint &, const NPoint &)
 
NPoint operator* (double, const NPoint &)
 
NPoint operator* (const NPoint &, double)
 
NPoint operator* (const NPoint &, const NPoint &)
 
NPoint operator/ (double, const NPoint &)
 
NPoint operator/ (const NPoint &, double)
 
NPoint operator/ (const NPoint &, const NPoint &)
 

Constructor & Destructor Documentation

◆ NPoint() [1/12]

Nice::NPoint::NPoint ( double  ,
int   
)
inlineprivate

◆ NPoint() [2/12]

Nice::NPoint::NPoint ( )
inline

◆ NPoint() [3/12]

Nice::NPoint::NPoint ( size_t  _s,
double  _d = 0.0 
)
inline

◆ NPoint() [4/12]

Nice::NPoint::NPoint ( double  _v)
inline

◆ NPoint() [5/12]

Nice::NPoint::NPoint ( const Nice::NPointVar _p)
inline

◆ NPoint() [6/12]

Nice::NPoint::NPoint ( const Nice::PointVar _p)
inline

◆ NPoint() [7/12]

Nice::NPoint::NPoint ( double  ,
int   
)
inlineprivate

◆ NPoint() [8/12]

Nice::NPoint::NPoint ( )
inline

◆ NPoint() [9/12]

Nice::NPoint::NPoint ( size_t  _s,
double  _d = 0.0 
)

◆ NPoint() [10/12]

Nice::NPoint::NPoint ( double  _v)
inline

◆ NPoint() [11/12]

Nice::NPoint::NPoint ( const Nice::NPointVar _p)

◆ NPoint() [12/12]

Nice::NPoint::NPoint ( const Nice::PointVar _p)

Member Function Documentation

◆ _absless() [1/2]

static bool Nice::NPoint::_absless ( int  i,
int  j 
)
inlinestaticprivate

◆ _absless() [2/2]

static bool Nice::NPoint::_absless ( int  i,
int  j 
)
inlinestaticprivate

◆ absmax() [1/2]

double Nice::NPoint::absmax ( ) const

◆ absmax() [2/2]

double Nice::NPoint::absmax ( ) const
inline

◆ absmin() [1/2]

double Nice::NPoint::absmin ( ) const

◆ absmin() [2/2]

double Nice::NPoint::absmin ( ) const
inline

◆ get() [1/6]

template<typename Type >
Type Nice::NPoint::get ( ) const
inline

◆ get() [2/6]

template<typename Type >
Type Nice::NPoint::get ( ) const

◆ get() [3/6]

template<>
double Nice::NPoint::get ( void  ) const
inline

◆ get() [4/6]

template<>
double Nice::NPoint::get ( void  ) const
inline

◆ get() [5/6]

template<>
Nice::Point Nice::NPoint::get ( void  ) const
inline

◆ get() [6/6]

template<>
Nice::NPoint Nice::NPoint::get ( void  ) const
inline

◆ isNull() [1/2]

bool Nice::NPoint::isNull ( ) const

◆ isNull() [2/2]

bool Nice::NPoint::isNull ( ) const
inline

◆ max() [1/2]

double Nice::NPoint::max ( ) const

◆ max() [2/2]

double Nice::NPoint::max ( ) const
inline

◆ min() [1/2]

double Nice::NPoint::min ( ) const

◆ min() [2/2]

double Nice::NPoint::min ( ) const
inline

◆ operator*=() [1/4]

NPoint & Nice::NPoint::operator*= ( double  c)
inline

◆ operator*=() [2/4]

NPoint& Nice::NPoint::operator*= ( double  c)

◆ operator*=() [3/4]

NPoint & Nice::NPoint::operator*= ( const NPoint p)
inline

◆ operator*=() [4/4]

NPoint& Nice::NPoint::operator*= ( const NPoint p)

◆ operator+=() [1/4]

NPoint & Nice::NPoint::operator+= ( double  c)
inline

◆ operator+=() [2/4]

NPoint& Nice::NPoint::operator+= ( double  c)

◆ operator+=() [3/4]

NPoint& Nice::NPoint::operator+= ( const NPoint p)

◆ operator+=() [4/4]

NPoint & Nice::NPoint::operator+= ( const NPoint p)
inline

◆ operator-=() [1/4]

NPoint& Nice::NPoint::operator-= ( double  c)

◆ operator-=() [2/4]

NPoint & Nice::NPoint::operator-= ( double  c)
inline

◆ operator-=() [3/4]

NPoint & Nice::NPoint::operator-= ( const NPoint p)
inline

◆ operator-=() [4/4]

NPoint& Nice::NPoint::operator-= ( const NPoint p)

◆ operator/=() [1/4]

NPoint & Nice::NPoint::operator/= ( double  c)
inline

◆ operator/=() [2/4]

NPoint& Nice::NPoint::operator/= ( double  c)

◆ operator/=() [3/4]

NPoint& Nice::NPoint::operator/= ( const NPoint p)

◆ operator/=() [4/4]

NPoint & Nice::NPoint::operator/= ( const NPoint p)
inline

◆ p() [1/2]

double Nice::NPoint::p ( size_t  _i) const
inline

◆ p() [2/2]

double Nice::NPoint::p ( size_t  _i) const

◆ r() [1/2]

NPointVar& Nice::NPoint::r ( )

◆ r() [2/2]

NPointVar & Nice::NPoint::r ( )
inline

◆ round() [1/2]

Nice::NPoint Nice::NPoint::round ( ) const
inline

◆ round() [2/2]

Nice::NPoint Nice::NPoint::round ( ) const

◆ set() [1/8]

void Nice::NPoint::set ( const NPointVar _np)

◆ set() [2/8]

void Nice::NPoint::set ( const NPointVar _np)
inline

◆ set() [3/8]

void Nice::NPoint::set ( double  _v)

◆ set() [4/8]

void Nice::NPoint::set ( double  _v)
inline

◆ set() [5/8]

void Nice::NPoint::set ( double  _v1,
double  _v2 
)

◆ set() [6/8]

void Nice::NPoint::set ( double  _v1,
double  _v2 
)
inline

◆ set() [7/8]

void Nice::NPoint::set ( double  _v1,
double  _v2,
double  _v3 
)

◆ set() [8/8]

void Nice::NPoint::set ( double  _v1,
double  _v2,
double  _v3 
)
inline

◆ setP() [1/2]

void Nice::NPoint::setP ( size_t  _i,
double  _np 
)
inline

◆ setP() [2/2]

void Nice::NPoint::setP ( size_t  _i,
double  _np 
)

◆ toString() [1/2]

std::string Nice::NPoint::toString ( ) const

◆ toString() [2/2]

std::string Nice::NPoint::toString ( ) const
inline

Friends And Related Function Documentation

◆ operator!= [1/2]

bool operator!= ( const NPoint _p1,
const NPoint _p2 
)
friend

◆ operator!= [2/2]

bool operator!= ( const NPoint _p1,
const NPoint _p2 
)
friend

◆ operator* [1/6]

NPoint operator* ( double  _c,
const NPoint _p 
)
friend

◆ operator* [2/6]

NPoint operator* ( double  _c,
const NPoint _p 
)
friend

◆ operator* [3/6]

NPoint operator* ( const NPoint _p,
double  _c 
)
friend

◆ operator* [4/6]

NPoint operator* ( const NPoint _p,
double  _c 
)
friend

◆ operator* [5/6]

NPoint operator* ( const NPoint _p1,
const NPoint _p2 
)
friend

◆ operator* [6/6]

NPoint operator* ( const NPoint _p1,
const NPoint _p2 
)
friend

◆ operator+ [1/6]

NPoint operator+ ( const NPoint _p,
double  _c 
)
friend

◆ operator+ [2/6]

NPoint operator+ ( const NPoint _p,
double  _c 
)
friend

◆ operator+ [3/6]

NPoint operator+ ( double  _c,
const NPoint _p 
)
friend

◆ operator+ [4/6]

NPoint operator+ ( double  _c,
const NPoint _p 
)
friend

◆ operator+ [5/6]

NPoint operator+ ( const NPoint _p1,
const NPoint _p2 
)
friend

◆ operator+ [6/6]

NPoint operator+ ( const NPoint _p1,
const NPoint _p2 
)
friend

◆ operator- [1/6]

NPoint operator- ( double  _c,
const NPoint _p 
)
friend

◆ operator- [2/6]

NPoint operator- ( double  _c,
const NPoint _p 
)
friend

◆ operator- [3/6]

NPoint operator- ( const NPoint _p,
double  _c 
)
friend

◆ operator- [4/6]

NPoint operator- ( const NPoint _p,
double  _c 
)
friend

◆ operator- [5/6]

NPoint operator- ( const NPoint _p1,
const NPoint _p2 
)
friend

◆ operator- [6/6]

NPoint operator- ( const NPoint _p1,
const NPoint _p2 
)
friend

◆ operator/ [1/6]

NPoint operator/ ( double  _c,
const NPoint _p 
)
friend

◆ operator/ [2/6]

NPoint operator/ ( double  _c,
const NPoint _p 
)
friend

◆ operator/ [3/6]

NPoint operator/ ( const NPoint _p,
double  _c 
)
friend

◆ operator/ [4/6]

NPoint operator/ ( const NPoint _p,
double  _c 
)
friend

◆ operator/ [5/6]

NPoint operator/ ( const NPoint _p1,
const NPoint _p2 
)
friend

◆ operator/ [6/6]

NPoint operator/ ( const NPoint _p1,
const NPoint _p2 
)
friend

◆ operator< [1/2]

bool operator< ( const NPoint _p1,
const NPoint _p2 
)
friend

◆ operator< [2/2]

bool operator< ( const NPoint _p1,
const NPoint _p2 
)
friend

◆ operator== [1/2]

bool operator== ( const NPoint _p1,
const NPoint _p2 
)
friend

◆ operator== [2/2]

bool operator== ( const NPoint _p1,
const NPoint _p2 
)
friend

◆ operator> [1/2]

bool operator> ( const NPoint _p1,
const NPoint _p2 
)
friend

◆ operator> [2/2]

bool operator> ( const NPoint _p1,
const NPoint _p2 
)
friend

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