Punkt 2D z liczb całkowitych
[Math Module]

Classes

struct  common::POINT_
 Punkt 2D z liczb całkowitych. More...

Functions

POINT_ common::operator* (const POINT_ pt, int v)
POINT_ common::operator/ (const POINT_ pt, int v)
POINT_ common::operator* (int v, const POINT_ pt)
POINT_ common::operator/ (int v, const POINT_ pt)
template<>
::POINT & common::math_cast<::POINT, POINT_ > (const POINT_ &x)
 Konwersja z common::POINT_ do POINT.
template<>
POINT_ & common::math_cast< POINT_,::POINT > (const ::POINT &x)
 Konwersja z POINT do common::POINT_.
void common::swap (POINT_ &v1, POINT_ &v2)
void common::Mul (POINT_ *out, const POINT_ &p1, const POINT_ &p2)
void common::Div (POINT_ *out, const POINT_ &p1, const POINT_ &p2)
void common::Mul (POINT_ *inout, const POINT_ &v)
void common::Div (POINT_ *inout, const POINT_ &v)
void common::Min (common::POINT_ *out, const common::POINT_ &a, const common::POINT_ &b)
void common::Max (common::POINT_ *out, const common::POINT_ &a, const common::POINT_ &b)

Variables

const common::POINT_ common::POINT_ZERO
const common::POINT_ common::POINT_ONE
const common::POINT_ common::POINT_NEGATIVE_X
const common::POINT_ common::POINT_NEGATIVE_Y
const common::POINT_ common::POINT_POSITIVE_X
const common::POINT_ common::POINT_POSITIVE_Y

Detailed Description


Function Documentation

void common::Div ( POINT_ *  inout,
const POINT_ &  v 
) [inline]
void common::Div ( POINT_ *  out,
const POINT_ &  p1,
const POINT_ &  p2 
) [inline]
template<>
POINT_& common::math_cast< POINT_,::POINT > ( const ::POINT &  x  )  [inline]

Konwersja z POINT do common::POINT_.

template<>
::POINT& common::math_cast<::POINT, POINT_ > ( const POINT_ &  x  )  [inline]

Konwersja z common::POINT_ do POINT.

void common::Max ( common::POINT_ *  out,
const common::POINT_ &  a,
const common::POINT_ &  b 
) [inline]
void common::Min ( common::POINT_ *  out,
const common::POINT_ &  a,
const common::POINT_ &  b 
) [inline]
void common::Mul ( POINT_ *  inout,
const POINT_ &  v 
) [inline]
void common::Mul ( POINT_ *  out,
const POINT_ &  p1,
const POINT_ &  p2 
) [inline]
POINT_ common::operator* ( int  v,
const POINT_  pt 
) [inline]
POINT_ common::operator* ( const POINT_  pt,
int  v 
) [inline]
POINT_ common::operator/ ( int  v,
const POINT_  pt 
) [inline]
POINT_ common::operator/ ( const POINT_  pt,
int  v 
) [inline]
void common::swap ( POINT_ &  v1,
POINT_ &  v2 
) [inline]

Variable Documentation


Generated on Wed Dec 16 20:44:53 2009 for CommonLib by  doxygen 1.6.1