|
FastLED 3.10.8
|
Definition at line 370 of file geometry.h.
#include <geometry.h>
Public Member Functions | |
| line_xy () FL_NO_EXCEPT=default | |
| line_xy (const line_xy &other) FL_NO_EXCEPT=default | |
| line_xy (const vec2< T > &start, const vec2< T > &end) FL_NO_EXCEPT | |
| line_xy (line_xy &&other) noexcept=default | |
| line_xy (T start_x, T start_y, T end_x, T end_y) FL_NO_EXCEPT | |
| float | distance_to (const vec2< T > &p, vec2< T > *out_projected=nullptr) const FL_NO_EXCEPT |
| bool | empty () const FL_NO_EXCEPT |
| line_xy & | operator= (const line_xy &other)=default |
| line_xy & | operator= (line_xy &&other) noexcept=default |
Public Attributes | |
| vec2< T > | end |
| vec2< T > | start |
Static Private Member Functions | |
| static float | distance_to_line_with_point (vec2< T > p, vec2< T > a, vec2< T > b, vec2< T > *out_projected) FL_NO_EXCEPT |