#include <MathClasses.h>
Public Member Functions | |
Line () | |
Line (JString xml) | |
Line (XMLNode *node) | |
Line (PointFloat startpoint, PointFloat endpoint, double width=0) | |
virtual | ~Line () |
Object * | clone () 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 |
Definition at line 195 of file MathClasses.h.
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.
Object * cmlabs::Line::clone | ( | ) | const [virtual] |
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] |
JString cmlabs::Line::toXML | ( | ) | [virtual] |
bool cmlabs::Line::fromXML | ( | XMLNode * | node | ) | [virtual] |
Definition at line 206 of file MathClasses.h.
Definition at line 207 of file MathClasses.h.
double cmlabs::Line::lineWidth |
Definition at line 208 of file MathClasses.h.