Esempio n. 1
0
 internal new void FriendQuit()
 {
     if (mblnOpened)
     {
         if (mobjAcGeLinSeg2d != null)
         {
             mobjAcGeLinSeg2d.FriendQuit();
         }
         if (mobjAcGeCircArc2d != null)
         {
             mobjAcGeCircArc2d.FriendQuit();
         }
         if (mobjAcGeEllipArc2d != null)
         {
             mobjAcGeEllipArc2d.FriendQuit();
         }
         if (mobjAcGeNurbCurve2d != null)
         {
             mobjAcGeNurbCurve2d.FriendQuit();
         }
         base.FriendQuit();
         mobjAcGeLinSeg2d    = null;
         mobjAcGeCircArc2d   = null;
         mobjAcGeEllipArc2d  = null;
         mobjAcGeNurbCurve2d = null;
         mobjAcGeObject      = null;
         mblnOpened          = false;
     }
 }
Esempio n. 2
0
 private AcGeNurbCurve2d InternAddAcGeNurbCurve2d()
 {
     if (mobjAcGeObject == null)
     {
         mobjAcGeNurbCurve2d = new AcGeNurbCurve2d();
         mobjAcGeObject      = mobjAcGeNurbCurve2d;
     }
     return(mobjAcGeNurbCurve2d);
 }