static int _m_ClockwiseAngle(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                Pathfinding.AdvancedSmooth.TurnConstructor gen_to_be_invoked = (Pathfinding.AdvancedSmooth.TurnConstructor)translator.FastGetCSObj(L, 1);



                {
                    double _from = LuaAPI.lua_tonumber(L, 2);
                    double _to   = LuaAPI.lua_tonumber(L, 3);

                    double gen_ret = gen_to_be_invoked.ClockwiseAngle(_from, _to);
                    LuaAPI.lua_pushnumber(L, gen_ret);



                    return(1);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }