CArista Class Reference

#include <arista.h>

List of all members.

Public Member Functions

 CArista ()
 ~CArista ()
void setv1 (CVertice &)
void setv2 (CVertice &)
void setv (CVertice &, CVertice &)
CAristaoperator= (CArista &)
int getColor ()
double getx1 ()
double getx2 ()
double gety1 ()
double gety2 ()
void setx1 (double)
void setx2 (double)
void sety1 (double)
void sety2 (double)
void setColor (int)

Private Attributes

int m_Color
CVertice m_V1
CVertice m_V2


Constructor & Destructor Documentation

CArista::CArista  ) 
 

Definition at line 9 of file arista.cpp.

CArista::~CArista  ) 
 

Definition at line 17 of file arista.cpp.


Member Function Documentation

int CArista::getColor  ) 
 

--------------------------------------------------------------------------

Definition at line 86 of file arista.cpp.

References m_Color.

double CArista::getx1  ) 
 

--------------------------------------------------------------------------

Definition at line 97 of file arista.cpp.

References CVertice::getX(), and m_V1.

Referenced by CPoligono::anyadeArista(), CTransforma::convertir(), CTransforma::escalar(), and CTransforma::rotar().

double CArista::getx2  ) 
 

--------------------------------------------------------------------------

Definition at line 108 of file arista.cpp.

References CVertice::getX(), and m_V2.

Referenced by CPoligono::anyadeArista(), CTransforma::convertir(), CTransforma::escalar(), and CTransforma::rotar().

double CArista::gety1  ) 
 

--------------------------------------------------------------------------

Definition at line 119 of file arista.cpp.

References CVertice::getY(), and m_V1.

Referenced by CPoligono::anyadeArista(), CTransforma::convertir(), CTransforma::escalar(), and CTransforma::rotar().

double CArista::gety2  ) 
 

--------------------------------------------------------------------------

Definition at line 130 of file arista.cpp.

References CVertice::getY(), and m_V2.

Referenced by CPoligono::anyadeArista(), CTransforma::convertir(), CTransforma::escalar(), and CTransforma::rotar().

CArista & CArista::operator= CArista a  ) 
 

--------------------------------------------------------------------------

Definition at line 69 of file arista.cpp.

References m_Color, m_V1, and m_V2.

void CArista::setColor int  col  ) 
 

E col: color a establecer.

Definition at line 195 of file arista.cpp.

References m_Color.

Referenced by CPoligono::anyadeArista().

void CArista::setv CVertice v,
CVertice vv
 

m_V2: vertice 2 de la arista.

Definition at line 31 of file arista.cpp.

References m_V1, and m_V2.

Referenced by CPoligono::anyadeArista().

void CArista::setv1 CVertice v  ) 
 

E m_V1: vertice 1 de la arista.

Definition at line 45 of file arista.cpp.

References m_V1.

void CArista::setv2 CVertice v  ) 
 

E m_V2: vertice 2 de la arista.

Definition at line 58 of file arista.cpp.

References m_V2.

void CArista::setx1 double  x  ) 
 

E x: nueva coordenada x.

Definition at line 169 of file arista.cpp.

References m_V1, and CVertice::setX().

Referenced by CPoligono::anyadeArista(), CTransforma::convertir(), CTransforma::escalar(), and CTransforma::rotar().

void CArista::setx2 double  x  ) 
 

E x: nueva coordenada x.

Definition at line 182 of file arista.cpp.

References m_V2, and CVertice::setX().

Referenced by CPoligono::anyadeArista(), CTransforma::convertir(), CTransforma::escalar(), and CTransforma::rotar().

void CArista::sety1 double  y  ) 
 

E y: nueva coordenada y.

Definition at line 143 of file arista.cpp.

References m_V1, and CVertice::setY().

Referenced by CPoligono::anyadeArista(), CTransforma::convertir(), CTransforma::escalar(), and CTransforma::rotar().

void CArista::sety2 double  y  ) 
 

E y: nueva coordenada y.

Definition at line 156 of file arista.cpp.

References m_V2, and CVertice::setY().

Referenced by CPoligono::anyadeArista(), CTransforma::convertir(), CTransforma::escalar(), and CTransforma::rotar().


Member Data Documentation

int CArista::m_Color [private]
 

Definition at line 46 of file arista.h.

Referenced by getColor(), operator=(), and setColor().

CVertice CArista::m_V1 [private]
 

Definition at line 47 of file arista.h.

Referenced by getx1(), gety1(), operator=(), setv(), setv1(), setx1(), and sety1().

CVertice CArista::m_V2 [private]
 

Definition at line 48 of file arista.h.

Referenced by getx2(), gety2(), operator=(), setv(), setv2(), setx2(), and sety2().


The documentation for this class was generated from the following files:
Generated on Fri May 13 16:32:36 2005 for Screaming Racers by  doxygen 1.4.2