Represents a 3D line. More...
#include <eVision/Easy3D/E3DLine.h>
Public Member Functions | |
| E3DLine () | |
| Creates an E3DLine object. | |
| E3DLine (const eVision::Easy3D::E3DPoint &p1, const eVision::Easy3D::E3DPoint &p2) | |
| Creates an E3DLine object. | |
| E3DLine (const eVision::Easy3D::E3DLine &other) | |
| Creates an E3DLine object. | |
| virtual | ~E3DLine () throw () |
| eVision::Easy3D::E3DLine & | operator= (const eVision::Easy3D::E3DLine &other) |
| Assignment operator. | |
| bool | operator== (const eVision::Easy3D::E3DLine &other) const |
| Operator "==": tests if two E3DLine objects are identical. | |
| bool | operator!= (const eVision::Easy3D::E3DLine &other) const |
| Operator "!=": tests if two E3DLine objects are different. | |
| void | Define (const eVision::Easy3D::E3DPoint &p1, const eVision::Easy3D::E3DPoint &p2) |
| (re)Defines the line parameters: | |
| eVision::Easy3D::E3DPoint | GetFirstPoint () const |
| Gets the first point of the line. | |
| eVision::Easy3D::E3DPoint | GetSecondPoint () const |
| Gets the second point of the line. | |
| void | Load (const std::string &path) |
| Loads a E3DLine. The given ESerializer must have been created for reading. | |
| void | Load (eVision::ESerializer *serializer) |
| Loads a E3DLine. The given ESerializer must have been created for reading. | |
| void | Save (const std::string &path) |
| Saves a E3DLine. The given ESerializer must have been created for writing. | |
| void | Save (eVision::ESerializer *serializer) |
| Saves a E3DLine. The given ESerializer must have been created for writing. | |
| E3DLine (CppWrapperInternal::InternalConstructor) | |
Public Attributes | |
| CppWrapperInternal::WrappedClass | wrappedClass_ |
Represents a 3D line.
License(s): Easy3D
| eVision::Easy3D::E3DLine::E3DLine | ( | ) |
Creates an E3DLine object.
It is possible to initialize it by specifying its two points.
| eVision::Easy3D::E3DLine::E3DLine | ( | const eVision::Easy3D::E3DPoint & | p1, |
| const eVision::Easy3D::E3DPoint & | p2 ) |
Creates an E3DLine object.
It is possible to initialize it by specifying its two points.
| p1 | The first point of the line. |
| p2 | The second point of the line. |
| eVision::Easy3D::E3DLine::E3DLine | ( | const eVision::Easy3D::E3DLine & | other | ) |
|
virtual | ||||||||||||
| eVision::Easy3D::E3DLine::E3DLine | ( | CppWrapperInternal::InternalConstructor | ) |
| void eVision::Easy3D::E3DLine::Define | ( | const eVision::Easy3D::E3DPoint & | p1, |
| const eVision::Easy3D::E3DPoint & | p2 ) |
(re)Defines the line parameters:
It is possible to use the first and the second points of the line.
| p1 | The first point of the line. |
| p2 | The second point of the line. |
| eVision::Easy3D::E3DPoint eVision::Easy3D::E3DLine::GetFirstPoint | ( | ) | const |
Gets the first point of the line.
| eVision::Easy3D::E3DPoint eVision::Easy3D::E3DLine::GetSecondPoint | ( | ) | const |
Gets the second point of the line.
| void eVision::Easy3D::E3DLine::Load | ( | const std::string & | path | ) |
Loads a E3DLine. The given ESerializer must have been created for reading.
| path | The file path. |
| void eVision::Easy3D::E3DLine::Load | ( | eVision::ESerializer * | serializer | ) |
Loads a E3DLine. The given ESerializer must have been created for reading.
| serializer | The ESerializer object that is read from. |
| bool eVision::Easy3D::E3DLine::operator!= | ( | const eVision::Easy3D::E3DLine & | other | ) | const |
| eVision::Easy3D::E3DLine & eVision::Easy3D::E3DLine::operator= | ( | const eVision::Easy3D::E3DLine & | other | ) |
Assignment operator.
| other | The E3DLine object that should be copied. |
| bool eVision::Easy3D::E3DLine::operator== | ( | const eVision::Easy3D::E3DLine & | other | ) | const |
| void eVision::Easy3D::E3DLine::Save | ( | const std::string & | path | ) |
Saves a E3DLine. The given ESerializer must have been created for writing.
| path | The file path. |
| void eVision::Easy3D::E3DLine::Save | ( | eVision::ESerializer * | serializer | ) |
Saves a E3DLine. The given ESerializer must have been created for writing.
| serializer | The ESerializer object that is written to. |
| CppWrapperInternal::WrappedClass eVision::Easy3D::E3DLine::wrappedClass_ |