コード例 #1
0
        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);
        }
コード例 #2
0
 public void SetBaseLine(CPoint frcpt, CPoint tocpt)
 {
     _pBaseLine = new CEdge(frcpt, tocpt);
     _pBaseLine.SetLength();
 }