WXP::Vect Class Reference

This structure defines a vector quantity (x,y). More...

#include "../include/Vect.h"

List of all members.

Public Member Functions

 Vect ()
 Vect (float rx, float ry)
int init ()
int set (float rx, float ry)
int add (Vect &v1)
int sub (Vect &v1)
int scale (float sc)
int print ()

Public Attributes

float x
float y

Detailed Description

This structure defines a vector quantity (x,y).

Author:
Dan Vietor

Constructor & Destructor Documentation

Vect::Vect (  ) 

Constructor. Initializes class values

References init().

Vect::Vect ( float  rx,
float  ry 
)

Constructor. Sets the values

Parameters:
rx X value
ry Y value

Member Function Documentation

int Vect::init (  ) 

Initializes the class

References WXP::Const::MISS.

Referenced by Vect().

int Vect::set ( float  rx,
float  ry 
)

Sets the values

Parameters:
rx X value
ry Y value

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

Generated on 8 Jan 2010 for WXP C++ Library by  doxygen 1.6.1