public OurPoint WorldToScreen(OurPoint inputPoint) { var point = new OurPoint(); point.X = (inputPoint.X + pictureBox1.Width / 2); point.Y = -inputPoint.Y + pictureBox1.Height / 2; return(point); }
public Circle(OurPoint center, float radius, float angle1, float angle2) { Center = new OurPoint(); Center.X = center.X; Center.Y = center.Y; Radius = radius; Angle1 = angle1; Angle2 = angle2; }
public Line(OurPoint start, OurPoint end) { pointStart = new OurPoint(); pointEnd = new OurPoint(); pointStart.X = start.X; pointStart.Y = start.Y; pointEnd.X = end.X; pointEnd.Y = end.Y; }
public void AddRow(OurPoint inputPoint) { secondListOfPoints.Add(new OurPoint(inputPoint.X, inputPoint.Y, inputPoint.H)); }
public void AddNode(OurPoint point) { listOfPoints.Add(point); }