00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 #include "SO3Point.h"
00029
00030 namespace SO3
00031 {
00032
00033
00034 const SPoint<int> SPoint<int>::ZERO(0, 0);
00035 const SPoint<int> SPoint<int>::UNIT_X(1, 0);
00036 const SPoint<int> SPoint<int>::UNIT_Y(0, 1);
00037 const SPoint<int> SPoint<int>::NEGATIVE_UNIT_X(-1, 0);
00038 const SPoint<int> SPoint<int>::NEGATIVE_UNIT_Y(0, -1);
00039 const SPoint<int> SPoint<int>::UNIT_SCALE(1, 1);
00040
00041
00042 const SPoint<short> SPoint<short>::ZERO(0, 0);
00043 const SPoint<short> SPoint<short>::UNIT_X(1, 0);
00044 const SPoint<short> SPoint<short>::UNIT_Y(0, 1);
00045 const SPoint<short> SPoint<short>::NEGATIVE_UNIT_X(-1, 0);
00046 const SPoint<short> SPoint<short>::NEGATIVE_UNIT_Y(0, -1);
00047 const SPoint<short> SPoint<short>::UNIT_SCALE(1, 1);
00048
00049
00050 const SPoint<long> SPoint<long>::ZERO(0, 0);
00051 const SPoint<long> SPoint<long>::UNIT_X(1, 0);
00052 const SPoint<long> SPoint<long>::UNIT_Y(0, 1);
00053 const SPoint<long> SPoint<long>::NEGATIVE_UNIT_X(-1, 0);
00054 const SPoint<long> SPoint<long>::NEGATIVE_UNIT_Y(0, -1);
00055 const SPoint<long> SPoint<long>::UNIT_SCALE(1, 1);
00056
00057
00058 const SPoint<unsigned int> SPoint<unsigned int>::ZERO(0, 0);
00059 const SPoint<unsigned int> SPoint<unsigned int>::UNIT_X(1, 0);
00060 const SPoint<unsigned int> SPoint<unsigned int>::UNIT_Y(0, 1);
00061 const SPoint<unsigned int> SPoint<unsigned int>::UNIT_SCALE(1, 1);
00062
00063
00064 const SPoint<unsigned short> SPoint<unsigned short>::ZERO(0, 0);
00065 const SPoint<unsigned short> SPoint<unsigned short>::UNIT_X(1, 0);
00066 const SPoint<unsigned short> SPoint<unsigned short>::UNIT_Y(0, 1);
00067 const SPoint<unsigned short> SPoint<unsigned short>::UNIT_SCALE(1, 1);
00068
00069
00070 const SPoint<unsigned long> SPoint<unsigned long>::ZERO(0, 0);
00071 const SPoint<unsigned long> SPoint<unsigned long>::UNIT_X(1, 0);
00072 const SPoint<unsigned long> SPoint<unsigned long>::UNIT_Y(0, 1);
00073 const SPoint<unsigned long> SPoint<unsigned long>::UNIT_SCALE(1, 1);
00074
00075
00076 const SPoint<float> SPoint<float>::ZERO(0.0f, 0.0f);
00077 const SPoint<float> SPoint<float>::UNIT_X(1.0f, 0.0f);
00078 const SPoint<float> SPoint<float>::UNIT_Y(0.0f, 1.0f);
00079 const SPoint<float> SPoint<float>::NEGATIVE_UNIT_X(-1.0f, 0.0f);
00080 const SPoint<float> SPoint<float>::NEGATIVE_UNIT_Y(0.0f, -1.0f);
00081 const SPoint<float> SPoint<float>::UNIT_SCALE(1.0f, 1.0f);
00082
00083
00084 const SPoint<double> SPoint<double>::ZERO(0.0, 0.0);
00085 const SPoint<double> SPoint<double>::UNIT_X(1.0, 0.0);
00086 const SPoint<double> SPoint<double>::UNIT_Y(0.0, 1.0);
00087 const SPoint<double> SPoint<double>::NEGATIVE_UNIT_X(-1.0, 0.0);
00088 const SPoint<double> SPoint<double>::NEGATIVE_UNIT_Y(0.0, -1.0);
00089 const SPoint<double> SPoint<double>::UNIT_SCALE(1.0, 1.0);
00090
00091 }