示例#1
0
        private void Initialize()
        {
            ptInput = connectedMenus.ptInput;
            connectedMenus.ptInput.Initialize(this);
            connectedMenus.ptOutputMenu.Initialize(this);
            List <string> neg1 = new List <string>()
            {
                "-", "1"
            };
            List <string> pos1 = new List <string>()
            {
                "1"
            };

            ptSet = new PtSet();

            eqnSet = new EqnSet();

            ptInput.ChangeOutput(ptSet.ptCoords["pt1"].X);
            updatePoint("pt1", new Vector3(-2, 3, 4), false);
            updatePoint("pt2", new Vector3(1, 1, 0), false);
            updatePoint("pt3", new Vector3(1, 90, -1), false);
            //updatePoint("pt1", new Vector3(-1, 1, 1), false);  //Old default
            //updatePoint("pt2", new Vector3(1, -1, 1), false);  //Old default
            //updatePoint("pt3", new Vector3(1, 0, -1), false);  //Old default
        }
示例#2
0
 internal KeyboardInputResponder(PtInput ptInput)
 {
     this.ptInput = ptInput;
 }