|
header_utils
|
Represents a 2D ray. More...
#include <ray.h>
Public Types | |
| using | tvec |
| using | value_type |
| using | segment |
Public Member Functions | |
| basic_line_t< T > | line () const noexcept |
| tray | from_dir (tvec const &start, tvec const &dir) noexcept |
| tray | from_points (tvec const &start, tvec const &second) noexcept |
| segment & | set_position (tvec const &pos) noexcept |
| segment & | operator+= (tvec const &offs) noexcept |
| segment & | operator-= (tvec const &offs) noexcept |
| segment & | translate (tvec const &offs) noexcept |
| T | edge_length () const noexcept |
| tvec | edge_point (T t) const |
| trec2< T > | bounding_box () const |
| tvec | closest_point_to (tvec const &pt) const |
| T | projected_alpha (tvec const &pt) const |
Public Attributes | |
| tvec | start |
| tvec | dir |
Represents a 2D ray.
| using ghassanpl::geometry::tray< T >::segment |
| using ghassanpl::geometry::tray< T >::tvec |
| using ghassanpl::geometry::tray< T >::value_type |
|
inline |
|
inline |
|
inlinenoexcept |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
| tvec ghassanpl::geometry::tray< T >::dir |
| tvec ghassanpl::geometry::tray< T >::start |