FastLED 3.10.8
Loading...
Searching...
No Matches

◆ distance_to()

template<typename T>
float fl::line_xy< T >::distance_to ( const vec2< T > & p,
vec2< T > * out_projected = nullptr ) const
inline

Definition at line 388 of file geometry.h.

389 {
391 }
vec2< T > end
Definition geometry.h:372
static float distance_to_line_with_point(vec2< T > p, vec2< T > a, vec2< T > b, vec2< T > *out_projected) FL_NO_EXCEPT
Definition geometry.h:396
vec2< T > start
Definition geometry.h:371

References distance_to_line_with_point(), end, fl::FL_NO_EXCEPT, and start.

+ Here is the call graph for this function: