Dokumentacja struktury common::PLANE
[Moduł Math, Płaszczyzna]

Płaszczyzna. Więcej...

#include <Math.hpp>

Lista wszystkich składowych.

Metody publiczne

 PLANE ()
 PLANE (float a, float b, float c, float d)
 PLANE (const float *Arr)
 operator float * ()
 operator const float * () const
bool operator== (const PLANE &p) const
bool operator!= (const PLANE &p) const
PLANE operator+ () const
PLANE operator- () const
 Zwraca płaszczyznę zwróconą w przeciwną stronę.
PLANE operator* (float s) const
PLANE operator/ (float s) const
PLANE & operator*= (float s)
PLANE & operator/= (float s)

Atrybuty publiczne

float a
float b
float c
float d


Opis szczegółowy

Płaszczyzna.

Reprezentuje płaszczyznę w przestrzeni 3D z jedną stroną dodatnią, a drugą ujemną. Opisana jest równaniem A x + B y + C z + D = 0. Wektor [A,B,C] to wektor normalny wskazujący w kierunku dodatniej półprzestrzeni. Jeśli płaszczyzna jest znormalizowana, wektor normalny jest znormalizowany, a D to odległość płaszczyzny od środka układu współrzędnych. Reprezentacja jako string to A,R,G,B np. "1,2,3,0.2". Płaszczyzna mająca a=b=c=0 (czyli stała ZERO) jest niepoprawna, zdegenerowana.


Dokumentacja konstruktora i destruktora

common::PLANE::PLANE (  )  [inline]

common::PLANE::PLANE ( float  a,
float  b,
float  c,
float  d 
) [inline]

common::PLANE::PLANE ( const float *  Arr  )  [inline]


Dokumentacja funkcji składowych

common::PLANE::operator float * (  )  [inline]

common::PLANE::operator const float * (  )  const [inline]

bool common::PLANE::operator== ( const PLANE &  p  )  const [inline]

bool common::PLANE::operator!= ( const PLANE &  p  )  const [inline]

PLANE common::PLANE::operator+ (  )  const [inline]

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

Zwraca płaszczyznę zwróconą w przeciwną stronę.

PLANE common::PLANE::operator* ( float  s  )  const [inline]

PLANE common::PLANE::operator/ ( float  s  )  const [inline]

PLANE& common::PLANE::operator*= ( float  s  )  [inline]

PLANE& common::PLANE::operator/= ( float  s  )  [inline]


Dokumentacja atrybutów składowych


Dokumentacja dla tej struktury została wygenerowana z pliku:

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