class ExpressionNS::Vertex

basic vertex class not perfect but provides most functionaltity nessassary

Public Fields

[more]float xyz [3]
[more]return v* s

Public Methods

[more] Vertex ( const float &x, const float &y, const float & z)
[more] Vertex ()
[more]inline float x (void)
[more]inline float y (void)
[more]inline float z (void)
[more]inline float& operator [] (int x)
[more]inline float x (float x)
[more]inline float y (float y)
[more]inline float z (float z)
[more]inline zero (void)
[more]Vertex operator - ()
[more]const Vertex operator + (const Vertex& v) const
[more]const Vertex& operator += (const Vertex& v)
[more]const Vertex operator - (const Vertex& v) const
[more]const Vertex& operator -= (const Vertex& v)
[more]const Vertex operator * (const float &num) const
[more]const Vertex& operator *= (const float & num)
[more]const Vertex operator / (float num)
[more]const Vertex& operator /= (const float & num)
[more]const bool operator == ( const Vertex& v2) const
[more]const float operator * (Vertex& v) const
[more]void norm (void )
[more]inline float length ()
[more]inline double lensq ()


Documentation

basic vertex class not perfect but provides most functionaltity nessassary
ofloat xyz[3]

o Vertex( const float &x, const float &y, const float & z)

o Vertex()

oinline float x(void)

oinline float y(void)

oinline float z(void)

oinline float& operator [] (int x)

oinline float x(float x)

oinline float y(float y)

oinline float z(float z)

oinline zero(void)

oVertex operator - ()

oconst Vertex operator + (const Vertex& v) const

oconst Vertex& operator += (const Vertex& v)

oconst Vertex operator - (const Vertex& v) const

oconst Vertex& operator -= (const Vertex& v)

oconst Vertex operator * (const float &num) const

oreturn v* s

oconst Vertex& operator *= (const float & num)

oconst Vertex operator / (float num)

oconst Vertex& operator /= (const float & num)

oconst bool operator == ( const Vertex& v2) const

oconst float operator * (Vertex& v) const

ovoid norm(void )

oinline float length()

oinline double lensq()


This class has no child classes.
Friends:
inline const Vertex operator * ( const float & s, const Vertex& v )

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.