HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Public Member Functions | Friends
hi::v1::line_segment Class Reference

#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_segmentoperator= (line_segment const &) noexcept=default
 
constexpr line_segmentoperator= (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
 

Detailed Description

Line segment.


The documentation for this class was generated from the following file: