1 #ifndef EIGEN2_GEOMETRY_MODULE_H 2 #define EIGEN2_GEOMETRY_MODULE_H 3 4 #include <limits> 5 6 #ifndef M_PI 7 #define M_PI 3.14159265358979323846 8 #endif 9 10 #if EIGEN2_SUPPORT_STAGE < STAGE20_RESOLVE_API_CONFLICTS 11 #include "RotationBase.h" 12 #include "Rotation2D.h" 13 #include "Quaternion.h" 14 #include "AngleAxis.h" 15 #include "Transform.h" 16 #include "Translation.h" 17 #include "Scaling.h" 18 #include "AlignedBox.h" 19 #include "Hyperplane.h" 20 #include "ParametrizedLine.h" 21 #endif 22 23 24 #define RotationBase eigen2_RotationBase 25 #define Rotation2D eigen2_Rotation2D 26 #define Rotation2Df eigen2_Rotation2Df 27 #define Rotation2Dd eigen2_Rotation2Dd 28 29 #define Quaternion eigen2_Quaternion 30 #define Quaternionf eigen2_Quaternionf 31 #define Quaterniond eigen2_Quaterniond 32 33 #define AngleAxis eigen2_AngleAxis 34 #define AngleAxisf eigen2_AngleAxisf 35 #define AngleAxisd eigen2_AngleAxisd 36 37 #define Transform eigen2_Transform 38 #define Transform2f eigen2_Transform2f 39 #define Transform2d eigen2_Transform2d 40 #define Transform3f eigen2_Transform3f 41 #define Transform3d eigen2_Transform3d 42 43 #define Translation eigen2_Translation 44 #define Translation2f eigen2_Translation2f 45 #define Translation2d eigen2_Translation2d 46 #define Translation3f eigen2_Translation3f 47 #define Translation3d eigen2_Translation3d 48 49 #define Scaling eigen2_Scaling 50 #define Scaling2f eigen2_Scaling2f 51 #define Scaling2d eigen2_Scaling2d 52 #define Scaling3f eigen2_Scaling3f 53 #define Scaling3d eigen2_Scaling3d 54 55 #define AlignedBox eigen2_AlignedBox 56 57 #define Hyperplane eigen2_Hyperplane 58 #define ParametrizedLine eigen2_ParametrizedLine 59 60 #define ei_toRotationMatrix eigen2_ei_toRotationMatrix 61 #define ei_quaternion_assign_impl eigen2_ei_quaternion_assign_impl 62 #define ei_transform_product_impl eigen2_ei_transform_product_impl 63 64 #include "RotationBase.h" 65 #include "Rotation2D.h" 66 #include "Quaternion.h" 67 #include "AngleAxis.h" 68 #include "Transform.h" 69 #include "Translation.h" 70 #include "Scaling.h" 71 #include "AlignedBox.h" 72 #include "Hyperplane.h" 73 #include "ParametrizedLine.h" 74 75 #undef ei_toRotationMatrix 76 #undef ei_quaternion_assign_impl 77 #undef ei_transform_product_impl 78 79 #undef RotationBase 80 #undef Rotation2D 81 #undef Rotation2Df 82 #undef Rotation2Dd 83 84 #undef Quaternion 85 #undef Quaternionf 86 #undef Quaterniond 87 88 #undef AngleAxis 89 #undef AngleAxisf 90 #undef AngleAxisd 91 92 #undef Transform 93 #undef Transform2f 94 #undef Transform2d 95 #undef Transform3f 96 #undef Transform3d 97 98 #undef Translation 99 #undef Translation2f 100 #undef Translation2d 101 #undef Translation3f 102 #undef Translation3d 103 104 #undef Scaling 105 #undef Scaling2f 106 #undef Scaling2d 107 #undef Scaling3f 108 #undef Scaling3d 109 110 #undef AlignedBox 111 112 #undef Hyperplane 113 #undef ParametrizedLine 114 115 #endif // EIGEN2_GEOMETRY_MODULE_H 116