Пример #1
0
 public void SetPointB(Point2d ptB)
 {
     _ptB = ptB;
 }
Пример #2
0
 /// <summary>
 /// parameterized constructor
 /// </summary>
 /// <param name="ptA"></param>
 /// <param name="ptB"></param>
 public Line2d(Point2d ptA, Point2d ptB)
 {
     _ptA = ptA;
     _ptB = ptB;
 }
Пример #3
0
 public void SetPointA(Point2d ptA)
 {
     _ptA = ptA;
 }
Пример #4
0
 /// <summary>
 /// default constructor
 /// </summary>
 public Line2d()
 {
     _ptA = new Point2d();
     _ptB = new Point2d();
 }