コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BezierCurveParametric3rdOrder" /> class, which represents an n = 3 parametric.
 /// </summary>
 /// <param name="parent">The parent object whose properties are used in the associated parametric equations.</param>
 public BezierCurveParametric3rdOrder(BezierCurve parent)
 {
     _x = new BezierParametric3rdOrderX(parent);
     _y = new BezierParametric3rdOrderY(parent);
 }
コード例 #2
0
        /// <summary>
        /// Clones the curve.
        /// </summary>
        /// <returns>LinearCurve.</returns>
        public BezierParametric3rdOrderX CloneParametric()
        {
            BezierParametric3rdOrderX parametric = new BezierParametric3rdOrderX(_parent as BezierCurve);

            return(parametric);
        }