39 if (alpha < 0.0 || alpha >
M_PI_2)
43 const double arg = std::sin(alpha) /
widthRatio();
44 return std::min(arg, 1.0);
47 static_assert(!std::is_copy_constructible<FootprintSquare>::value,
48 "FootprintSquare should not be copy constructable");
49 static_assert(!std::is_copy_assignable<FootprintSquare>::value,
50 "FootprintSquare should not be copy assignable");
Defines M_PI and some more mathematical constants.
void checkNodeArgs() const
Raises exception if a parameter value is invalid.