HikoGUI
A low latency retained GUI
|
#include <hikogui/geometry/line_segment.hpp>
Public Member Functions | |
constexpr | line_segment (line_segment const &) noexcept=default |
constexpr | line_segment (line_segment &&) noexcept=default |
constexpr line_segment & | operator= (line_segment const &) noexcept=default |
constexpr line_segment & | operator= (line_segment &&) noexcept=default |
constexpr | line_segment (point3 p, vector3 v) noexcept |
constexpr | line_segment (point3 p0, point3 p1) noexcept |
constexpr point3 | origin () const noexcept |
constexpr vector3 | direction () const noexcept |
Friends | |
float | hypot (line_segment const &rhs) noexcept |
template<std::size_t I> | |
constexpr friend point3 | get (line_segment const &rhs) noexcept |
constexpr friend point3 | midpoint (line_segment const &rhs) noexcept |
Line segment.