MCPcopy Create free account
hub / github.com/dartsim/dart / CheckAngleAxis

Function CheckAngleAxis

python/dartpy/eigen_geometry_pybind.cpp:111–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109
110template <typename T>
111void CheckAngleAxis(const Eigen::AngleAxis<T>& value)
112{
113 const T norm_error = fabs(value.axis().norm() - 1);
114 DART_UNUSED(norm_error);
115 DART_ASSERT(norm_error < kCheckTolerance && "Axis is not normalized");
116}
117
118} // namespace
119

Callers 1

eigen_geometryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected