39#ifndef PCL_COMMON_ANGLES_IMPL_HPP_
40#define PCL_COMMON_ANGLES_IMPL_HPP_
51 std::fmod (
alpha +
static_cast<float>(
M_PI),
52 2.0f *
static_cast<float>(
M_PI))
53 -
static_cast<float>(
M_PI)
55 -(std::fmod (
static_cast<float>(
M_PI) -
alpha,
56 2.0f *
static_cast<float>(
M_PI))
57 -
static_cast<float>(
M_PI)));
63 return (
alpha * 57.29578f);
69 return (
alpha * 0.017453293f);
75 return (
alpha * 57.29578);
81 return (
alpha * 0.017453293);
Iterator class for point clouds with or without given indices.
float deg2rad(float alpha)
Convert an angle from degrees to radians.
float rad2deg(float alpha)
Convert an angle from radians to degrees.
float normAngle(float alpha)
Normalize an angle to (-PI, PI].
Defines all the PCL and non-PCL macros used.