示例#1
0
        /// <summary>
        /// Grows the line about the origin.
        /// </summary>
        /// <param name="dFactor">The factor to grow by.</param>
        /// <param name="Origin">The origin about which to grow.</param>
        public override void Grow(double dFactor, C2DPoint Origin)
        {
            var pointTo = new C2DPoint(GetPointTo());

            point.Grow(dFactor, Origin);
            pointTo.Grow(dFactor, Origin);
            SetPointTo(pointTo);
        }
示例#2
0
        /// <summary>
        /// Grows the line about the origin.
        /// </summary>
        /// <param name="dFactor">The factor to grow by.</param>
        /// <param name="Origin">The origin about which to grow.</param>
        public override void Grow(double dFactor, C2DPoint Origin)
        {
	        C2DPoint pointTo = new C2DPoint(GetPointTo());
	        point.Grow(dFactor, Origin);
	        pointTo.Grow(dFactor, Origin);
	        SetPointTo(pointTo);
        }