12 #include "../../Vector/3D/NRE_Vector3D.hpp" 13 #include <Utility/Interfaces/Stringable/NRE_Stringable.hpp> 31 class Segment3D :
public Utility::Stringable<Segment3D<T>> {
47 template <
class K,
class L>
48 constexpr
Segment3D(Point3D<K>
const& s, Point3D<L>
const& e);
54 template <
class K,
class L>
55 constexpr
Segment3D(Point2D<K>
const& s, Point2D<L>
const& e);
63 template <
class K,
class L,
class N,
class M>
64 constexpr
Segment3D(K sX, L sY, N eX, M eY);
90 constexpr Point3D<T>
const&
getStart()
const;
94 constexpr Point3D<T>
const&
getEnd()
const;
121 constexpr
bool operator ==(Segment3D<K>
const& s)
const;
128 constexpr
bool operator !=(Segment3D<K>
const& s)
const;
145 template <
class T,
class K>
151 #include "NRE_Segment3D.tpp" constexpr Point3D< T > const & getStart() const
Utility::String toString() const
constexpr Vector3D< T > getVector() const
The stl standard namespace.
constexpr Point3D< T > const & getEnd() const
A 3D homogeneous segment.
Definition: NRE_Matrix3x3.hpp:34
constexpr bool operator==(Segment3D< K > const &s) const
The NearlyRealEngine's global namespace.
constexpr bool operator!=(Segment3D< K > const &s) const
constexpr Segment3D()=default
constexpr Segment3D & operator=(Segment3D const &s)=default