MMSFTVertex Class Reference

describes a vertex including operators More...

#include <mmsftvertex.h>

List of all members.


Public Member Functions

 MMSFTVertex ()
 MMSFTVertex (const double x, const double y, const double z=0)
 MMSFTVertex (const FT_Vector &ft_vector)
MMSFTVertex Normalise ()
MMSFTVertexoperator+= (const MMSFTVertex &point)
MMSFTVertex operator+ (const MMSFTVertex &point) const
MMSFTVertexoperator-= (const MMSFTVertex &point)
MMSFTVertex operator- (const MMSFTVertex &point) const
MMSFTVertex operator* (double multiplier) const
MMSFTVertex operator^ (const MMSFTVertex &point)
 operator const double * () const
void X (double x)
void Y (double y)
void Z (double z)
double X () const
double Y () const
double Z () const

Private Attributes

double values [3]

Friends

MMSFTVertex operator* (double multiplier, MMSFTVertex &point)
double operator* (MMSFTVertex &a, MMSFTVertex &b)

Detailed Description

describes a vertex including operators

Definition at line 43 of file mmsftvertex.h.


Constructor & Destructor Documentation

MMSFTVertex::MMSFTVertex (  )  [inline]

Definition at line 48 of file mmsftvertex.h.

MMSFTVertex::MMSFTVertex ( const double  x,
const double  y,
const double  z = 0 
) [inline]

Definition at line 52 of file mmsftvertex.h.

MMSFTVertex::MMSFTVertex ( const FT_Vector &  ft_vector  )  [inline]

Definition at line 58 of file mmsftvertex.h.


Member Function Documentation

MMSFTVertex MMSFTVertex::Normalise (  ) 

Definition at line 36 of file mmsftvertex.cpp.

MMSFTVertex& MMSFTVertex::operator+= ( const MMSFTVertex point  )  [inline]

Definition at line 66 of file mmsftvertex.h.

MMSFTVertex MMSFTVertex::operator+ ( const MMSFTVertex point  )  const [inline]

Definition at line 73 of file mmsftvertex.h.

MMSFTVertex& MMSFTVertex::operator-= ( const MMSFTVertex point  )  [inline]

Definition at line 81 of file mmsftvertex.h.

MMSFTVertex MMSFTVertex::operator- ( const MMSFTVertex point  )  const [inline]

Definition at line 88 of file mmsftvertex.h.

MMSFTVertex MMSFTVertex::operator* ( double  multiplier  )  const [inline]

Definition at line 96 of file mmsftvertex.h.

MMSFTVertex MMSFTVertex::operator^ ( const MMSFTVertex point  )  [inline]

Definition at line 114 of file mmsftvertex.h.

MMSFTVertex::operator const double * (  )  const [inline]

Definition at line 126 of file mmsftvertex.h.

void MMSFTVertex::X ( double  x  )  [inline]

Definition at line 130 of file mmsftvertex.h.

void MMSFTVertex::Y ( double  y  )  [inline]

Definition at line 131 of file mmsftvertex.h.

void MMSFTVertex::Z ( double  z  )  [inline]

Definition at line 132 of file mmsftvertex.h.

double MMSFTVertex::X (  )  const [inline]

Definition at line 134 of file mmsftvertex.h.

double MMSFTVertex::Y (  )  const [inline]

Definition at line 135 of file mmsftvertex.h.

double MMSFTVertex::Z (  )  const [inline]

Definition at line 136 of file mmsftvertex.h.


Friends And Related Function Documentation

MMSFTVertex operator* ( double  multiplier,
MMSFTVertex point 
) [friend]

Definition at line 104 of file mmsftvertex.h.

double operator* ( MMSFTVertex a,
MMSFTVertex b 
) [friend]

Definition at line 108 of file mmsftvertex.h.


Member Data Documentation

double MMSFTVertex::values[3] [private]

Definition at line 45 of file mmsftvertex.h.


The documentation for this class was generated from the following files: