A geometry math class for expressing a line connecting 2 points in 3D space. More...
#include <linesegment.h>
Collaboration diagram for Mezzanine::LineSegment3D:Public Member Functions | |
| LineSegment3D () | |
| Blank constructor. | |
| LineSegment3D (const Vector3 &A, const Vector3 &B) | |
| Descriptive constructor. More... | |
| LineSegment3D (const LineSegment3D &Other) | |
| Copy constructor. More... | |
| Boole | EpsilonEquivalent (const LineSegment3D &Other) const |
| Equality comparison with some slack. More... | |
| LineSegment3D | GetOrderedCopy () const |
| Gets a copy of this line segment with it's members ordered by length. More... | |
Public Attributes | |
| Vector3 | PointA |
| The first point defining the segment. | |
| Vector3 | PointB |
| The second point defining the segment. | |
A geometry math class for expressing a line connecting 2 points in 3D space.
Definition at line 94 of file linesegment.h.
Descriptive constructor.
| A | The first point defining the segment. |
| B | The second point defining the segment. |
Definition at line 82 of file linesegment.cpp.
| Mezzanine::LineSegment3D::LineSegment3D | ( | const LineSegment3D & | Other | ) |
Copy constructor.
| Other | The other line segment to copy from. |
Definition at line 87 of file linesegment.cpp.
| Boole Mezzanine::LineSegment3D::EpsilonEquivalent | ( | const LineSegment3D & | Other | ) | const |
Equality comparison with some slack.
| Other | The other LineSegment3D to compare with. |
Definition at line 95 of file linesegment.cpp.
| LineSegment3D Mezzanine::LineSegment3D::GetOrderedCopy | ( | ) | const |
Gets a copy of this line segment with it's members ordered by length.
Definition at line 101 of file linesegment.cpp.
1.8.9.1. Thanks to the
Open Icon Library
for help with some of the icons.