Ejemplo n.º 1
0
        public static LineFr Vertical(Fraction x)
        {
            var p = new PointFr(x, Fraction.Zero);

            return(new LineFr(p, p.Translate(0, 1)));
        }
Ejemplo n.º 2
0
 private Fraction YIntercept(Fraction xInt) // (Slope * xInt) + Constant
 {
     return(Slope * xInt + Constant);
 }
Ejemplo n.º 3
0
        public static LineFr Horizontal(Fraction y)
        {
            var p = new PointFr(Fraction.Zero, y);

            return(new LineFr(p, p.Translate(1, 0)));
        }