protected override IEnumerable <DxfPoint> GetExtentsPoints()
        {
            yield return(InsertionPoint);

            yield return(InsertionPoint + XAxisDirection.Normalize() * HorizontalWidth + ExtrusionDirection.Cross(XAxisDirection).Normalize() * VerticalHeight);
        }
示例#2
0
 public void BindAxis(int setCardId, int setAxisId, int actAxisId, double lead, XAxisDirection dir, string name)
 {
     if (cardMap.ContainsKey(setCardId) == true)
     {
         if (axisMap.ContainsKey(setAxisId) == false)
         {
             XAxis axis = new XCore.XAxis(cardMap [setCardId], actAxisId, lead, name);
             axisMap.Add(setAxisId, axis);
         }
     }
 }