WXP::Point Class Reference

This structure sets a 3D point (x, y, z). More...

#include "../include/Point.h"

List of all members.

Public Member Functions

int init ()
 Point ()
 Point (float rx, float ry)
 Point (float rx, float ry, float rz)
int set (float rx, float ry)
int offset (float rx, float ry)
int set (float rx, float ry, float rz)
int set (Point pt)
float getX ()
float getY ()
int print ()

Static Public Member Functions

static Point interp (Point pt1, Point pt2, float d)

Public Attributes

float x
float y
float z

Detailed Description

This structure sets a 3D point (x, y, z).

Author:
Dan Vietor

Constructor & Destructor Documentation

Point::Point (  ) 

Constructor. Initializes the values.

References init().

Point::Point ( float  rx,
float  ry 
)

Constructor. Sets the values.

Parameters:
rx Sets X
ry Sets Y

References init().

Point::Point ( float  rx,
float  ry,
float  rz 
)

Constructor. Sets the values.

Parameters:
rx Sets X
ry Sets Y
rz Sets Z

References init().


Member Function Documentation

int Point::init (  ) 

Initializes the values

References WXP::Const::MISS, x, y, and z.

Referenced by WXP::RedbookPlot::draw(), and Point().

int Point::print (  ) 

Prints the values to standard output.

References WXP::Const::MISS, x, y, and z.

int Point::set ( float  rx,
float  ry,
float  rz 
)

Sets the values.

Parameters:
rx Sets X
ry Sets Y
rz Sets Z

References x, y, and z.

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

Member Data Documentation

Z value

Referenced by init(), print(), and set().


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