示例#1
0
        public void ResetVertex(char a, decimal newx, decimal newy)
        {
            int pos = a - 'a';

            if (pos > joints.Count)
            {
                throw new Exception("Bad joint ...");
            }
            model.ResetVertexCoord(GetJoint(a), newx, newy);
            joints[pos].ResetCoordinate(newx, newy);
        }