12 #include "../../Vector/4D/NRE_Vector4D.hpp" 13 #include <Utility/Interfaces/Stringable/NRE_Stringable.hpp> 31 class Segment4D :
public Utility::Stringable<Segment4D<T>> {
47 template <
class K,
class L>
48 constexpr
Segment4D(Point4D<K>
const& s, Point4D<L>
const& e);
54 template <
class K,
class L>
55 constexpr
Segment4D(Point3D<K>
const& s, Point3D<L>
const& e);
65 template <
class K,
class L,
class N,
class M,
class O,
class P>
66 constexpr
Segment4D(K sX, L sY, N sZ, M eX, O eY, P eZ);
92 constexpr Point4D<T>
const&
getStart()
const;
96 constexpr Point4D<T>
const&
getEnd()
const;
123 constexpr
bool operator ==(Segment4D<K>
const& s)
const;
130 constexpr
bool operator !=(Segment4D<K>
const& s)
const;
147 template <
class T,
class K>
153 #include "NRE_Segment4D.tpp" A 4D homogeneous segment.
Definition: NRE_Matrix4x4.hpp:35
constexpr Point4D< T > const & getEnd() const
constexpr Vector4D< T > getVector() const
constexpr bool operator==(Segment4D< K > const &s) const
The stl standard namespace.
The NearlyRealEngine's global namespace.
Utility::String toString() const
constexpr Segment4D()=default
constexpr bool operator!=(Segment4D< K > const &s) const
constexpr Point4D< T > const & getStart() const
constexpr Segment4D & operator=(Segment4D const &s)=default