#include <triangle3D.h>
Public Member Functions | |
| Triangle3D () | |
| The default constructor initializes to a triangle in the X-Y plane. | |
| Triangle3D (const Vector3D &vertex0, const Vector3D &vertex1, const Vector3D &vertex2) | |
| This constructor initializes the triangle using three points. | |
| Triangle3D (const Triangle3D &source) | |
| The copy constructor deep copies its argument. | |
| ~Triangle3D () | |
| Destructor. | |
| Triangle3D & | operator= (const Triangle3D &source) |
| The assignment operator deep copies its argument. | |
| const Vector3D & | getVertex0 () const |
| This member function returns the one of the three vertices that define the triangle. | |
| const Vector3D & | getVertex1 () const |
| This member function returns the one of the three vertices that define the triangle. | |
| const Vector3D & | getVertex2 () const |
| This member function returns the one of the three vertices that define the triangle. | |
| Triangle3D & | setValue (Vector3D const &vertex0, Vector3D const &vertex1, Vector3D const &vertex2) |
Definition at line 28 of file triangle3D.h.
| dlr::geometry::Triangle3D::Triangle3D | ( | ) | [inline] |
The default constructor initializes to a triangle in the X-Y plane.
Definition at line 35 of file triangle3D.h.
| dlr::geometry::Triangle3D::Triangle3D | ( | const Vector3D & | vertex0, | |
| const Vector3D & | vertex1, | |||
| const Vector3D & | vertex2 | |||
| ) |
This constructor initializes the triangle using three points.
| vertex0 | This argument is one of the three points that define the triangle. | |
| vertex1 | This argument is one of the three points that define the triangle. | |
| vertex2 | This argument is one of the three points that define the triangle. |
Definition at line 26 of file triangle3D.cpp.
| dlr::geometry::Triangle3D::Triangle3D | ( | const Triangle3D & | source | ) |
The copy constructor deep copies its argument.
| source | This argument is the class instance to be copied. |
Definition at line 39 of file triangle3D.cpp.
| dlr::geometry::Triangle3D::~Triangle3D | ( | ) | [inline] |
| const Vector3D& dlr::geometry::Triangle3D::getVertex0 | ( | ) | const [inline] |
This member function returns the one of the three vertices that define the triangle.
Definition at line 90 of file triangle3D.h.
| const Vector3D& dlr::geometry::Triangle3D::getVertex1 | ( | ) | const [inline] |
This member function returns the one of the three vertices that define the triangle.
Definition at line 101 of file triangle3D.h.
| const Vector3D& dlr::geometry::Triangle3D::getVertex2 | ( | ) | const [inline] |
This member function returns the one of the three vertices that define the triangle.
Definition at line 112 of file triangle3D.h.
| Triangle3D & dlr::geometry::Triangle3D::operator= | ( | const Triangle3D & | source | ) |
The assignment operator deep copies its argument.
| source | This argument is the class instance to be copied. |
Definition at line 51 of file triangle3D.cpp.
1.5.8