reviver Namespace Reference

The reviver namespace signifies the part of the code borrowed from reviver (dpoint.hpp). More...


Classes

class  InternalNumberType< float >
class  InternalNumberType< int >
class  InternalNumberType< double >
class  InternalNumberType< long >
struct  origin
struct  origin< NumType, D, 0 >
struct  Distance
 A structure to compute squared distances between points. More...
struct  Distance< NumType, D, 0 >
 Partial Template Specialization for distance calculations. More...
struct  DotProd
 A structure to compute dot product between two points or associated vectors. More...
struct  DotProd< __INT, NumType, D, 0 >
 Partial Template Specialization for dot product calculations. More...
struct  IsEqual
struct  IsEqual< NumType, D, 0 >
struct  Equate
 Equate two d-dimensional points. More...
struct  Equate< NumType1, NumType2, D, 0 >
 Partial Template Specialization for Equate. More...
struct  Add
 A structure to add two points. More...
struct  Add< NumType, D, 0 >
 Partial Template Specialization for Add structure. More...
struct  Subtract
 Subtract two d-dimensional vectors. More...
struct  Subtract< NumType, D, 0 >
 Partial Template Specialization for subtraction of points (associated vectors). More...
struct  Multiply
 Mutiply scalar with d-dimensional point. More...
struct  Multiply< NumType, D, 0 >
 Partial Template Specialization for scalar multiplication. More...
class  dpoint
 Main d dimensional Point Class. More...

Functions

template<typename NumType>
NumType Subtract_nums (const NumType &x, const NumType &y)
template<typename NT, unsigned __DIM>
dpoint< NT, __DIM > operator+ (const dpoint< NT, __DIM > &p, const dpoint< NT, __DIM > &q)
template<typename NT, unsigned __DIM>
dpoint< NT, __DIM > operator- (const dpoint< NT, __DIM > &p, const dpoint< NT, __DIM > &q)
template<typename NT, unsigned __DIM>
bool operator== (const dpoint< NT, __DIM > &p, const dpoint< NT, __DIM > &q)
template<typename NT, unsigned __DIM>
bool operator!= (const dpoint< NT, __DIM > &p, const dpoint< NT, __DIM > &q)
template<typename NT, unsigned __DIM>
dpoint< NT, __DIM > operator * (const dpoint< NT, __DIM > &p, const NT k)
template<typename NT, unsigned __DIM>
dpoint< NT, __DIM > operator/ (const dpoint< NT, __DIM > &p, const NT k)
template<class NumType, unsigned D>
std::ostream & operator<< (std::ostream &os, const dpoint< NumType, D > &p)
template<class NumType, unsigned D>
std::istream & operator>> (std::istream &is, dpoint< NumType, D > &p)
template<typename NumType, unsigned D>
dpoint< NumType, D > CrossProd (const dpoint< NumType, D > &vector1, const dpoint< NumType, D > &vector2)
template<typename __NT, unsigned __DIM>
int orientation (const dpoint< __NT, __DIM > p[__DIM+1])
template<typename __NT>
__NT orientation (const dpoint< __NT, 2 > &p, const dpoint< __NT, 2 > &q, const dpoint< __NT, 2 > &r)
double orient2d (double *p, double *q, double *r)
template<>
double orientation< double > (const dpoint< double, 2 > &p, const dpoint< double, 2 > &q, const dpoint< double, 2 > &r)
template<>
float orientation< float > (const dpoint< float, 2 > &p, const dpoint< float, 2 > &q, const dpoint< float, 2 > &r)


Detailed Description

The reviver namespace signifies the part of the code borrowed from reviver (dpoint.hpp).

Function Documentation

template<typename NumType, unsigned D>
dpoint<NumType, D> reviver::CrossProd const dpoint< NumType, D > &  vector1,
const dpoint< NumType, D > &  vector2
 

Definition at line 563 of file dpoint.hpp.

References Assert.

template<typename NT, unsigned __DIM>
dpoint<NT,__DIM> reviver::operator * const dpoint< NT, __DIM > &  p,
const NT  k
 

Definition at line 451 of file dpoint.hpp.

template<typename NT, unsigned __DIM>
bool reviver::operator!= const dpoint< NT, __DIM > &  p,
const dpoint< NT, __DIM > &  q
 

Definition at line 445 of file dpoint.hpp.

template<typename NT, unsigned __DIM>
dpoint<NT,__DIM> reviver::operator+ const dpoint< NT, __DIM > &  p,
const dpoint< NT, __DIM > &  q
 

Definition at line 421 of file dpoint.hpp.

template<typename NT, unsigned __DIM>
dpoint<NT,__DIM> reviver::operator- const dpoint< NT, __DIM > &  p,
const dpoint< NT, __DIM > &  q
 

Definition at line 429 of file dpoint.hpp.

template<typename NT, unsigned __DIM>
dpoint<NT,__DIM> reviver::operator/ const dpoint< NT, __DIM > &  p,
const NT  k
 

Definition at line 459 of file dpoint.hpp.

References Assert.

template<class NumType, unsigned D>
std::ostream& reviver::operator<< std::ostream &  os,
const dpoint< NumType, D > &  p
 

Definition at line 523 of file dpoint.hpp.

template<typename NT, unsigned __DIM>
bool reviver::operator== const dpoint< NT, __DIM > &  p,
const dpoint< NT, __DIM > &  q
 

Definition at line 439 of file dpoint.hpp.

template<class NumType, unsigned D>
std::istream& reviver::operator>> std::istream &  is,
dpoint< NumType, D > &  p
 

Definition at line 535 of file dpoint.hpp.

double reviver::orient2d double *  p,
double *  q,
double *  r
 

template<typename __NT>
__NT reviver::orientation const dpoint< __NT, 2 > &  p,
const dpoint< __NT, 2 > &  q,
const dpoint< __NT, 2 > &  r
[inline]
 

Definition at line 591 of file dpoint.hpp.

template<typename __NT, unsigned __DIM>
int reviver::orientation const dpoint< __NT, __DIM >  p[__DIM+1]  ) 
 

Definition at line 578 of file dpoint.hpp.

template<>
double reviver::orientation< double > const dpoint< double, 2 > &  p,
const dpoint< double, 2 > &  q,
const dpoint< double, 2 > &  r
[inline]
 

template<>
float reviver::orientation< float > const dpoint< float, 2 > &  p,
const dpoint< float, 2 > &  q,
const dpoint< float, 2 > &  r
[inline]
 

template<typename NumType>
NumType reviver::Subtract_nums const NumType &  x,
const NumType &  y
[inline]
 

Definition at line 253 of file dpoint.hpp.

Referenced by reviver::Subtract< NumType, D, 0 >::eval(), and reviver::Subtract< NumType, D, I >::eval().


Generated on Fri Nov 3 21:59:03 2006 for Triangle++ by  doxygen 1.4.6