Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ArduPilot/ardupilot
/ length
Method
length
libraries/AP_Math/vector3.cpp:324–327 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
322
323
template <typename T>
324
T Vector3<T>::length(void) const
325
{
326
return norm(x, y, z);
327
}
328
329
// limit xy component vector to a given length. returns true if vector was limited
330
template <typename T>
Callers
4
angle
Method · 0.95
distance_to_segment
Method · 0.45
closest_distance_between_line_and_point
Method · 0.45
point_on_line_closest_to_other_point
Method · 0.45
Calls
1
norm
Function · 0.85
Tested by
no test coverage detected