-- Created on: 1997-01-03 -- Created by: Stagiaire Flore Lautheanne -- Copyright (c) 1997-1999 Matra Datavision -- Copyright (c) 1999-2014 OPEN CASCADE SAS -- -- This file is part of Open CASCADE Technology software library. -- -- This library is free software; you can redistribute it and / or modify it -- under the terms of the GNU Lesser General Public version 2.1 as published -- by the Free Software Foundation, with special exception defined in the file -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT -- distribution for complete text of the license and disclaimer of any warranty. -- -- Alternatively, this file may be used under the terms of Open CASCADE -- commercial license or contractual agreement. class IdenticPresentation from DsgPrs ---Purpose: uses Presentation from Prs3d, Drawer from Prs3d, ExtendedString from TCollection, Pnt from gp, Dir from gp, Ax2 from gp, Elips from gp -- jfa 10/10/2000 is Add( myclass; aPresentation: Presentation from Prs3d; aDrawer: Drawer from Prs3d; aText: ExtendedString from TCollection; aPntAttach : Pnt from gp; aPntOffset : Pnt from gp); ---Purpose: draws a line between and -- . Add( myclass; aPresentation: Presentation from Prs3d; aDrawer: Drawer from Prs3d; aText: ExtendedString from TCollection; aFAttach : Pnt from gp; aSAttach : Pnt from gp; aPntOffset : Pnt from gp); ---Purpose: draws the 'identic' presentation by -- drawing a line between and -- , and a linkimg segment -- between and its projection -- on the precedent line. Add( myclass; aPresentation: Presentation from Prs3d; aDrawer: Drawer from Prs3d; aText: ExtendedString from TCollection; aAx2 : Ax2 from gp; aCenter : Pnt from gp; aFAttach : Pnt from gp; aSAttach : Pnt from gp; aPntOffset : Pnt from gp); ---Purpose: draws the 'identic' presentation in the case of -- circles : draws an arc of circle between -- and of center -- and of radius dist(aCenter, aFAttach), and -- draws a segment between and -- its projection on the arc. -- jfa 16/10/2000 Add( myclass; aPresentation: Presentation from Prs3d; aDrawer: Drawer from Prs3d; aText: ExtendedString from TCollection; aAx2 : Ax2 from gp; aCenter : Pnt from gp; aFAttach : Pnt from gp; aSAttach : Pnt from gp; aPntOffset : Pnt from gp; aPntOnCirc : Pnt from gp); ---Purpose: draws the 'identic' presentation in the case of -- circles : draws an arc of circle between -- and of center -- and of radius dist(aCenter, aFAttach), and -- draws a segment between and -- jfa 16/10/2000 -- jfa 10/10/2000 for ellipses identity presentation Add( myclass; aPresentation: Presentation from Prs3d; aDrawer: Drawer from Prs3d; aText: ExtendedString from TCollection; anEllipse: Elips from gp; aFAttach : Pnt from gp; aSAttach : Pnt from gp; aPntOffset : Pnt from gp; aPntOnElli : Pnt from gp); ---Purpose: draws the 'identic' presentation in the case of -- ellipses: draws an arc of the anEllipse -- between and and -- draws a segment between and -- jfa 10/10/2000 end end IdenticPresentation;