LCOV - code coverage report
Current view: top level - AP_Math - vector2.cpp (source / functions) Hit Total Coverage
Test: lcov.info Lines: 154 156 98.7 %
Date: 2026-09-09 11:02:08 Functions: 54 84 64.3 %

Function Name Sort by function name Hit count Sort by hit count
Vector2<double>::limit_length(double) 0
Vector2<double>::closest_point(Vector2<double> const&, Vector2<double> const&) 0
Vector2<double>::perpendicular(Vector2<double> const&, Vector2<double> const&) 0
Vector2<double>::segment_intersection(Vector2<double> const&, Vector2<double> const&, Vector2<double> const&, Vector2<double> const&, Vector2<double>&) 0
Vector2<double>::circle_segment_intersection(Vector2<double> const&, Vector2<double> const&, Vector2<double> const&, double, Vector2<double>&) 0
Vector2<double>::closest_distance_between_lines_squared(Vector2<double> const&, Vector2<double> const&, Vector2<double> const&, Vector2<double> const&) 0
Vector2<double>::closest_distance_between_line_and_point(Vector2<double> const&, Vector2<double> const&, Vector2<double> const&) 0
Vector2<double>::closest_distance_between_radial_and_point(Vector2<double> const&, Vector2<double> const&) 0
Vector2<double>::closest_distance_between_line_and_point_squared(Vector2<double> const&, Vector2<double> const&, Vector2<double> const&) 0
Vector2<double>::closest_distance_between_radial_and_point_squared(Vector2<double> const&, Vector2<double> const&) 0
Vector2<double>::rotate(double) 0
Vector2<double>::project(Vector2<double> const&) 0
Vector2<double>::reflect(Vector2<double> const&) 0
Vector2<double>::normalize() 0
Vector2<double>::operator/=(double) 0
Vector2<int>::closest_point(Vector2<int> const&, Vector2<int> const&) 0
Vector2<int>::closest_distance_between_line_and_point_squared(Vector2<int> const&, Vector2<int> const&, Vector2<int> const&) 0
Vector2<int>::closest_distance_between_radial_and_point_squared(Vector2<int> const&, Vector2<int> const&) 0
Vector2<double>::normalized() const 0
Vector2<double>::angle(Vector2<double> const&) const 0
Vector2<double>::is_inf() const 0
Vector2<double>::is_nan() const 0
Vector2<double>::projected(Vector2<double> const&) const 0
Vector2<double>::operator/(double) const 0
Vector2<double>::operator==(Vector2<double> const&) const 0
Vector2<double>::operator!=(Vector2<double> const&) const 0
Vector2<double>::operator%(Vector2<double> const&) const 0
Vector2<int>::length_squared() const 0
Vector2<int>::operator-(Vector2<int> const&) const 0
Vector2<int>::operator*(Vector2<int> const&) const 0
Vector2<float>::offset_bearing(float, float) 2
Vector2<int>::operator!=(Vector2<int> const&) const 4
Vector2<long>::operator==(Vector2<long> const&) const 4
Vector2<long>::operator!=(Vector2<long> const&) const 4
Vector2<float>::reflect(Vector2<float> const&) 6
Vector2<float>::operator!=(Vector2<float> const&) const 6
Vector2<float>::project(Vector2<float> const&) 8
Vector2<float>::perpendicular(Vector2<float> const&, Vector2<float> const&) 16
Vector2<double>::closest_point(Vector2<double> const&, Vector2<double> const&, Vector2<double> const&) 20
Vector2<double>::operator*(Vector2<double> const&) const 20
Vector2<float>::closest_distance_between_radial_and_point(Vector2<float> const&, Vector2<float> const&) 225
Vector2<double>::operator*=(double) 1785
Vector2<double>::offset_bearing(double, double) 1978
Vector2<float>::closest_distance_between_line_and_point(Vector2<float> const&, Vector2<float> const&, Vector2<float> const&) 13717
Vector2<double>::operator-() const 19976
Vector2<float>::closest_distance_between_lines_squared(Vector2<float> const&, Vector2<float> const&, Vector2<float> const&, Vector2<float> const&) 33346
Vector2<double>::length_squared() const 79606
Vector2<double>::angle() const 129475
Vector2<float>::closest_distance_between_line_and_point_squared(Vector2<float> const&, Vector2<float> const&, Vector2<float> const&) 147103
Vector2<float>::closest_distance_between_radial_and_point_squared(Vector2<float> const&, Vector2<float> const&) 147330
Vector2<float>::closest_point(Vector2<float> const&, Vector2<float> const&) 147342
Vector2<float>::projected(Vector2<float> const&) const 178460
Vector2<double>::operator-=(Vector2<double> const&) 347144
Vector2<float>::segment_intersection(Vector2<float> const&, Vector2<float> const&, Vector2<float> const&, Vector2<float> const&, Vector2<float>&) 439918
Vector2<float>::operator-() const 537188
Vector2<float>::rotate(float) 1240345
Vector2<double>::operator*(double) const 1724363
Vector2<int>::operator==(Vector2<int> const&) const 3454822
Vector2<float>::operator-=(Vector2<float> const&) 3610431
Vector2<float>::operator==(Vector2<float> const&) const 3654469
Vector2<float>::normalized() const 4335891
Vector2<float>::operator%(Vector2<float> const&) const 5386791
Vector2<float>::angle() const 6701152
Vector2<float>::closest_point(Vector2<float> const&, Vector2<float> const&, Vector2<float> const&) 18767396
Vector2<double>::length() const 26965358
Vector2<float>::operator/(float) const 55711712
Vector2<double>::operator-(Vector2<double> const&) const 67628100
Vector2<float>::operator*=(float) 81587340
Vector2<float>::normalize() 84141806
Vector2<float>::operator/=(float) 85345359
Vector2<double>::operator+(Vector2<double> const&) const 90775652
Vector2<float>::is_nan() const 119670676
Vector2<float>::is_inf() const 121159198
Vector2<float>::angle(Vector2<float> const&) const 121859116
Vector2<float>::limit_length(float) 135901983
Vector2<float>::length_squared() const 148615332
Vector2<float>::operator*(Vector2<float> const&) const 171840313
Vector2<float>::operator+=(Vector2<float> const&) 218384758
Vector2<float>::operator+(Vector2<float> const&) const 266678175
Vector2<float>::circle_segment_intersection(Vector2<float> const&, Vector2<float> const&, Vector2<float> const&, float, Vector2<float>&) 269096666
Vector2<double>::operator+=(Vector2<double> const&) 475164122
Vector2<float>::operator*(float) const 539299114
Vector2<float>::length() const 775509316
Vector2<float>::operator-(Vector2<float> const&) const 912592853

Generated by: LCOV version 1.14