public CEdge SetBaseLine(bool isSetLength = false, bool isSetAxisAngle = false) { var pbaseline = new CEdge(this.FrCpt, this.ToCpt); if (isSetLength == true) { pbaseline.SetLength(); } if (isSetAxisAngle == true) { pbaseline.SetAxisAngle(); } _pBaseLine = pbaseline; return(pbaseline); }
public void SetBaseLine(CPoint frcpt, CPoint tocpt) { _pBaseLine = new CEdge(frcpt, tocpt); _pBaseLine.SetLength(); }