FastLED 3.9.15
Loading...
Searching...
No Matches
fl::line_xy< T > Struct Template Reference

Detailed Description

template<typename T>
struct fl::line_xy< T >

Definition at line 165 of file geometry.h.

#include <geometry.h>

Public Member Functions

 line_xy ()=default
 
 line_xy (const vec2< T > &start, const vec2< T > &end)
 
 line_xy (T start_x, T start_y, T end_x, T end_y)
 
float distance_to (const vec2< T > &p, vec2< T > *out_projected=nullptr) const
 
bool empty () const
 

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)
 

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