cmlabs::Line Class Reference

#include <MathClasses.h>

Inheritance diagram for cmlabs::Line:

Inheritance graph
[legend]
Collaboration diagram for cmlabs::Line:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Line ()
 Line (JString xml)
 Line (XMLNode *node)
 Line (PointFloat startpoint, PointFloat endpoint, double width=0)
virtual ~Line ()
Objectclone () const
PointFloat getStartPoint () const
PointFloat getEndPoint () const
double getLineWidth () const
bool setStartPoint (PointFloat point)
bool setEndPoint (PointFloat point)
bool setLineWidth (double width)
JString print ()
JString toXML ()
bool fromXML (XMLNode *node)

Public Attributes

PointFloat startPoint
PointFloat endPoint
double lineWidth


Detailed Description

Definition at line 195 of file MathClasses.h.


Constructor & Destructor Documentation

cmlabs::Line::Line (  ) 

Definition at line 468 of file MathClasses.cpp.

cmlabs::Line::Line ( JString  xml  ) 

Definition at line 472 of file MathClasses.cpp.

cmlabs::Line::Line ( XMLNode node  ) 

Definition at line 478 of file MathClasses.cpp.

cmlabs::Line::Line ( PointFloat  startpoint,
PointFloat  endpoint,
double  width = 0 
)

Definition at line 484 of file MathClasses.cpp.

cmlabs::Line::~Line (  )  [virtual]

Definition at line 490 of file MathClasses.cpp.


Member Function Documentation

Object * cmlabs::Line::clone (  )  const [virtual]

Implements cmlabs::Object.

Definition at line 494 of file MathClasses.cpp.

PointFloat cmlabs::Line::getStartPoint (  )  const

Definition at line 500 of file MathClasses.cpp.

PointFloat cmlabs::Line::getEndPoint (  )  const

Definition at line 503 of file MathClasses.cpp.

double cmlabs::Line::getLineWidth (  )  const

Definition at line 506 of file MathClasses.cpp.

bool cmlabs::Line::setStartPoint ( PointFloat  point  ) 

Definition at line 510 of file MathClasses.cpp.

bool cmlabs::Line::setEndPoint ( PointFloat  point  ) 

Definition at line 514 of file MathClasses.cpp.

bool cmlabs::Line::setLineWidth ( double  width  ) 

Definition at line 518 of file MathClasses.cpp.

JString cmlabs::Line::print (  )  [virtual]

Reimplemented from cmlabs::Object.

Definition at line 523 of file MathClasses.cpp.

JString cmlabs::Line::toXML (  )  [virtual]

Reimplemented from cmlabs::Object.

Definition at line 529 of file MathClasses.cpp.

bool cmlabs::Line::fromXML ( XMLNode node  )  [virtual]

Reimplemented from cmlabs::Object.

Definition at line 532 of file MathClasses.cpp.


Member Data Documentation

Definition at line 206 of file MathClasses.h.

Definition at line 207 of file MathClasses.h.

Definition at line 208 of file MathClasses.h.


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

Generated on Tue Jul 7 16:22:59 2009 for CoreLibrary by  doxygen 1.5.6