Dokumentacja struktury common::POINT_
[Moduł Math, Punkt 2D z liczb całkowitych]

Punkt 2D z liczb całkowitych. Więcej...

#include <Math.hpp>

Lista wszystkich składowych.

Metody publiczne

 POINT_ ()
 POINT_ (int x, int y)
bool operator== (const POINT_ &v) const
bool operator!= (const POINT_ &v) const
POINT_ operator- () const
POINT_ operator+ (const POINT_ &v) const
POINT_ operator- (const POINT_ &v) const
POINT_ & operator+= (const POINT_ &v)
POINT_ & operator-= (const POINT_ &v)
POINT_ & operator*= (int v)
POINT_ & operator/= (int v)
int & operator[] (uint4 Index)
const int & operator[] (uint4 Index) const
int * GetArray ()
const int * GetArray () const

Atrybuty publiczne

union {
   struct {
      int   x
      int   y
   } 
   int   v [2]
}; 

Statyczne atrybuty publiczne

static const POINT_ ZERO


Opis szczegółowy

Punkt 2D z liczb całkowitych.

Kompatybilny ze strukturą POINT z Win32API. Nazywa się tak dziwnie, bo POINT to w Windows API marko i robi problem z nazwą. Konwersja do i ze stringa: "x,y", np. "10,1".


Dokumentacja konstruktora i destruktora

common::POINT_::POINT_ (  )  [inline]

common::POINT_::POINT_ ( int  x,
int  y 
) [inline]


Dokumentacja funkcji składowych

bool common::POINT_::operator== ( const POINT_ &  v  )  const [inline]

bool common::POINT_::operator!= ( const POINT_ &  v  )  const [inline]

POINT_ common::POINT_::operator- (  )  const [inline]

POINT_ common::POINT_::operator+ ( const POINT_ &  v  )  const [inline]

POINT_ common::POINT_::operator- ( const POINT_ &  v  )  const [inline]

POINT_& common::POINT_::operator+= ( const POINT_ &  v  )  [inline]

POINT_& common::POINT_::operator-= ( const POINT_ &  v  )  [inline]

POINT_& common::POINT_::operator*= ( int  v  )  [inline]

POINT_& common::POINT_::operator/= ( int  v  )  [inline]

int& common::POINT_::operator[] ( uint4  Index  )  [inline]

const int& common::POINT_::operator[] ( uint4  Index  )  const [inline]

int* common::POINT_::GetArray (  )  [inline]

const int* common::POINT_::GetArray (  )  const [inline]


Dokumentacja atrybutów składowych

union { ... }

const POINT_ common::POINT_::ZERO [static]


Dokumentacja dla tej struktury została wygenerowana z pliku:

Wygenerowano Sat Mar 29 18:17:02 2008 dla CommonLib programem  doxygen 1.5.5