public void SetPointB(Point2d ptB) { _ptB = ptB; }
/// <summary> /// parameterized constructor /// </summary> /// <param name="ptA"></param> /// <param name="ptB"></param> public Line2d(Point2d ptA, Point2d ptB) { _ptA = ptA; _ptB = ptB; }
public void SetPointA(Point2d ptA) { _ptA = ptA; }
/// <summary> /// default constructor /// </summary> public Line2d() { _ptA = new Point2d(); _ptB = new Point2d(); }