protected override IEnumerable <DxfPoint> GetExtentsPoints() { yield return(InsertionPoint); yield return(InsertionPoint + XAxisDirection.Normalize() * HorizontalWidth + ExtrusionDirection.Cross(XAxisDirection).Normalize() * VerticalHeight); }
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); } } }