/* * point_recovery.c * * Created on: Feb 14, 2014 * Author: havock */ #include #include #include #include int32_t main(void) { flt32_t pCenters[6]={ -0.976f, 0.401f, /* the first centre */ -0.251f, -0.506f, /* the second centre */ 0.368f, 0.327f }, /* the third centre */ pRadiuses[3]={ 0.98f, 0.653f, 0.816f },/* radiuses */ pResult[2]={ 0.0f, 0.0f }, /* result */ Quality=0.0; /* quality */ const _PTRC_INDAT in={ .u64D=2ul, /* dimensionality */ .pfCnt=pCenters, .pfRds=pRadiuses, .u64NofS=3ul /* number of known spheres */ }; int32_t err=0; /* error */ { uint64_t i,j; printf("At the beginning were\n"); for(i=0ul;i