Exemplo n.º 1
0
        public NodePointCircleCenter(Circle3Point owner)
        {
            m_owner = owner;
            m_clone = m_owner.Clone() as Circle3Point;
            //Console.WriteLine("!!" + m_clone.P1.X + " " + m_clone.P1.Y);

            m_originalPoint = m_owner.Center;
            //Console.WriteLine("!!" + m_clone.P1.X + " " + m_clone.P1.Y);
        }
Exemplo n.º 2
0
 public NodePointCircleRadius(Circle3Point owner)
 {
     m_owner = owner;
     m_clone = m_owner.Clone() as Circle3Point;
     m_clone.CurrentPoint = m_owner.CurrentPoint;
     m_originalValue      = m_owner.Radius;
     Angle1 = (float)HitUtil.RadiansToDegrees(HitUtil.LineAngleR(m_owner.Center, m_owner.P1, 0));
     Angle2 = (float)HitUtil.RadiansToDegrees(HitUtil.LineAngleR(m_owner.Center, m_owner.P2, 0));
     Angle3 = (float)HitUtil.RadiansToDegrees(HitUtil.LineAngleR(m_owner.Center, m_owner.P3, 0));
 }