示例#1
0
        public override PJ Init()
        {
            es = 0.0;

            try
            {
                sinu = new PJ_sinu();
                moll = new PJ_moll();
            }
            catch
            {
                return(null);
            }

            sinu.es  = 0;
            sinu.ctx = ctx;
            moll.ctx = ctx;

            sinu = sinu.Init();
            moll = moll.Init();
            if (sinu == null || moll == null)
            {
                return(null);
            }

            fwd = s_forward;
            inv = s_inverse;

            return(this);
        }
示例#2
0
        public override PJ Init()
        {
            es=0.0;

            try
            {
                sinu=new PJ_sinu();
                moll=new PJ_moll();
            }
            catch
            {
                return null;
            }

            sinu.es=0;
            sinu.ctx=ctx;
            moll.ctx=ctx;

            sinu=sinu.Init();
            moll=moll.Init();
            if(sinu==null||moll==null) return null;

            fwd=s_forward;
            inv=s_inverse;

            return this;
        }