Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

antMountGUI::LinearStroke Class Reference

Inheritance diagram for antMountGUI::LinearStroke:

Inheritance graph
[legend]
Collaboration diagram for antMountGUI::LinearStroke:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LinearStroke (double time, double orientation, double x0, double y0, double x1, double y1)
 LinearStroke ()
double getX0 ()
double getY0 ()
double getX1 ()
double getY1 ()
void setX0 (double x0)
void setY0 (double y0)
void setX1 (double x1)
void setY1 (double y1)

Private Attributes

double xArray0
double yArray0
double xArray1
double yArray1

Detailed Description

A linear stroke

Author:
acaproni
Version:
1.0


Constructor & Destructor Documentation

antMountGUI::LinearStroke::LinearStroke double  time,
double  orientation,
double  x0,
double  y0,
double  x1,
double  y1
[inline]
 

Build a linear stroke

Parameters:
time The time
orientation The orientation
x0 The xArray[0] coordinate
y0 The yArray[0] coordinate
x1 The xArray[1] coordinate
y1 The yArray[1] coordinate

antMountGUI::LinearStroke::LinearStroke  )  [inline]
 

Build a zero-ed linear stroke


Member Function Documentation

double antMountGUI::LinearStroke::getX0  )  [inline]
 

Returns:
The xArray[0] coordinate

double antMountGUI::LinearStroke::getX1  )  [inline]
 

Returns:
The xArray[1] coordinate

double antMountGUI::LinearStroke::getY0  )  [inline]
 

Returns:
The yArray[0] coordinate

double antMountGUI::LinearStroke::getY1  )  [inline]
 

Returns:
The yArray[1] coordinate

void antMountGUI::LinearStroke::setX0 double  x0  )  [inline]
 

Set the xArray[0] coordinate

Parameters:
x0 New value

void antMountGUI::LinearStroke::setX1 double  x1  )  [inline]
 

Set the xArray[1] coordinate

Parameters:
x1 New value

void antMountGUI::LinearStroke::setY0 double  y0  )  [inline]
 

Set the yArray[0] coordinate

Parameters:
y0 New value

void antMountGUI::LinearStroke::setY1 double  y1  )  [inline]
 

Set the yArray[1] coordinate

Parameters:
y1 New value


Member Data Documentation

double antMountGUI::LinearStroke::xArray0 [private]
 

The xArray[0] coordinate

double antMountGUI::LinearStroke::xArray1 [private]
 

The xArray[1] coordinate

double antMountGUI::LinearStroke::yArray0 [private]
 

The yArray[0] coordinate

double antMountGUI::LinearStroke::yArray1 [private]
 

The yArray[1] coordinate


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 03:07:56 2009 for ACS Java API by doxygen 1.3.8