MCPcopy 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
323template <typename T>
324T 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
330template <typename T>

Calls 1

normFunction · 0.85

Tested by

no test coverage detected