blob: 53c9e6803c138812ffc2f89280edc9caabcab591 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace grapher
{
public class VectorXY
{
public VectorXY(double x)
{
X = x;
Y = x;
}
public VectorXY(double x, double y)
{
X = x;
Y = y;
}
public double X { get; set; }
public double Y { get; set; }
public void SetBoth(double value)
{
X = value;
Y = value;
}
}
}
|