#include <LineSegment.h>
Definition at line 29 of file LineSegment.h.
Public Member Functions | |
| LineSegment () | |
| LineSegment (const double *startPoint, const double *endPoint, unsigned long dimension) | |
| LineSegment (const Point &startPoint, const Point &endPoint) | |
| LineSegment (const LineSegment &l) | |
| virtual | ~LineSegment () |
| virtual LineSegment & | operator= (const LineSegment &p) |
| virtual bool | operator== (const LineSegment &p) const |
| virtual LineSegment * | clone () |
| virtual unsigned long | getByteArraySize () |
| virtual void | loadFromByteArray (const byte *data) |
| virtual void | storeToByteArray (byte **data, unsigned long &length) |
| virtual bool | intersectsShape (const IShape &in) const |
| virtual bool | containsShape (const IShape &in) const |
| virtual bool | touchesShape (const IShape &in) const |
| virtual void | getCenter (Point &out) const |
| virtual unsigned long | getDimension () const |
| virtual void | getMBR (Region &out) const |
| virtual double | getArea () const |
| virtual double | getMinimumDistance (const IShape &in) const |
| virtual double | getMinimumDistance (const Point &p) const |
| virtual double | getRelativeMinimumDistance (const Point &p) const |
| virtual double | getRelativeMaximumDistance (const Region &r) const |
| virtual double | getAngleOfPerpendicularRay () |
| virtual void | makeInfinite (unsigned long dimension) |
| virtual void | makeDimension (unsigned long dimension) |
Public Attributes | |
| unsigned long | m_dimension |
| double * | m_pStartPoint |
| double * | m_pEndPoint |
Friends | |
| class | Region |
| class | Point |
| std::ostream & | operator<< (std::ostream &os, const LineSegment &pt) |
| Tools::Geometry::LineSegment::LineSegment | ( | ) |
| Tools::Geometry::LineSegment::LineSegment | ( | const double * | startPoint, | |
| const double * | endPoint, | |||
| unsigned long | dimension | |||
| ) |
| Tools::Geometry::LineSegment::LineSegment | ( | const LineSegment & | l | ) |
| virtual Tools::Geometry::LineSegment::~LineSegment | ( | ) | [virtual] |
| virtual LineSegment& Tools::Geometry::LineSegment::operator= | ( | const LineSegment & | p | ) | [virtual] |
| virtual bool Tools::Geometry::LineSegment::operator== | ( | const LineSegment & | p | ) | const [virtual] |
| virtual LineSegment* Tools::Geometry::LineSegment::clone | ( | ) | [virtual] |
| virtual unsigned long Tools::Geometry::LineSegment::getByteArraySize | ( | ) | [virtual] |
| virtual void Tools::Geometry::LineSegment::loadFromByteArray | ( | const byte * | data | ) | [virtual] |
| virtual void Tools::Geometry::LineSegment::storeToByteArray | ( | byte ** | data, | |
| unsigned long & | length | |||
| ) | [virtual] |
| virtual bool Tools::Geometry::LineSegment::intersectsShape | ( | const IShape & | in | ) | const [virtual] |
| virtual bool Tools::Geometry::LineSegment::containsShape | ( | const IShape & | in | ) | const [virtual] |
| virtual bool Tools::Geometry::LineSegment::touchesShape | ( | const IShape & | in | ) | const [virtual] |
| virtual void Tools::Geometry::LineSegment::getCenter | ( | Point & | out | ) | const [virtual] |
| virtual unsigned long Tools::Geometry::LineSegment::getDimension | ( | ) | const [virtual] |
| virtual void Tools::Geometry::LineSegment::getMBR | ( | Region & | out | ) | const [virtual] |
| virtual double Tools::Geometry::LineSegment::getArea | ( | ) | const [virtual] |
| virtual double Tools::Geometry::LineSegment::getMinimumDistance | ( | const IShape & | in | ) | const [virtual] |
| virtual double Tools::Geometry::LineSegment::getMinimumDistance | ( | const Point & | p | ) | const [virtual] |
| virtual double Tools::Geometry::LineSegment::getRelativeMinimumDistance | ( | const Point & | p | ) | const [virtual] |
| virtual double Tools::Geometry::LineSegment::getRelativeMaximumDistance | ( | const Region & | r | ) | const [virtual] |
| virtual double Tools::Geometry::LineSegment::getAngleOfPerpendicularRay | ( | ) | [virtual] |
| virtual void Tools::Geometry::LineSegment::makeInfinite | ( | unsigned long | dimension | ) | [virtual] |
| virtual void Tools::Geometry::LineSegment::makeDimension | ( | unsigned long | dimension | ) | [virtual] |
friend class Region [friend] |
Definition at line 79 of file LineSegment.h.
friend class Point [friend] |
Definition at line 80 of file LineSegment.h.
| std::ostream& operator<< | ( | std::ostream & | os, | |
| const LineSegment & | pt | |||
| ) | [friend] |
| unsigned long Tools::Geometry::LineSegment::m_dimension |
Definition at line 75 of file LineSegment.h.
Definition at line 76 of file LineSegment.h.
Definition at line 77 of file LineSegment.h.
1.5.1