Exemplo n.º 1
0
 public Matrix2BR(Vector2BR column1, Vector2BR column2)
 {
     this.M00 = column1.X;
     this.M01 = column2.X;
     this.M10 = column1.Y;
     this.M11 = column2.Y;
 }
Exemplo n.º 2
0
 public Vector2BR Transform(Vector2BR vector)
 {
     return(new Vector2BR(this.M00 * vector.X + this.M01 * vector.Y, this.M10 * vector.X + this.M11 * vector.Y));
 }
Exemplo n.º 3
0
 public static Point2BR Subtract(Point2BR p, Vector2BR v)
 {
     return(new Point2BR(p.X - v.X, p.Y - v.Y));
 }
Exemplo n.º 4
0
 public Vector3BR(Vector2BR vector, BigRational z)
 {
     this.X = vector.X;
     this.Y = vector.Y;
     this.Z = z;
 }
Exemplo n.º 5
0
 public static Point2BR Add(Point2BR p, Vector2BR v)
 {
     return(new Point2BR(p.X + v.X, p.Y + v.Y));
 }