12.07.2015 Views

Acta Technica Corviniensis

Acta Technica Corviniensis

Acta Technica Corviniensis

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

ACTA TECHNICA CORVINIENSIS – BULLETIN of ENGINEERINGthere are complex iterations, or synchronizationissues such as resource contention [5]. In suchcases, sequence diagrams cannot completelydescribe the system's behavior, but they canspecify typical use cases for the system, smalldetails in its behavior, and simplified overviewsof its behavior.Vector and Graphics2D type arealready created, and the objects of Element2D,Parametru, Punct2D, MouseEvent andHyperbola2D type will instantiate during theinteractions.PRESENTATION OF SEQUENCE DIAGRAMSUTILIZED TO IMPLEMENTATION OF ADYNAMICAL SOFTWARE FOR DOINGGEOMETRICAL CONSTRUCTIONSIn the achievemnt of the interactive informaticssystem designed for studying geometry wereaimed the following purposes:presenting of theoretical concepts and mainresults;interactive presentation of applications foreach required subdomain;achievement of accurate drawings byreplacing the pencil and ruler with themouse.By representing the diagrams related to thethree steps: analysis, designing andimplementation, the interactive informaticssystem will be described in a clear and concisemanner. Utilization of the UML modellinglanguage in the diagrams’ achievement isfeatured by a rich syntactic and semantic rigour,and support for visual modeling.The sequence diagram is used primarily to showthe interactions between objects in thesequential order that those interactions occur.Much like the class diagram, developerstypically think sequence diagrams were meantexclusively for them..The diagram illustrates in figure 1 shows theinteractions between objects, which have aspurpose the drawing of a parabola. One cannotice that there are interactions between nineobjects, out of which the objects ofVector, Desen2D and Graphics2Dtype are already created, and the objects ofElement2D, Punct2D, Dreapta2D, MouseEventand Parabola2D type will instantiate during theinteractions.The diagram illustrates in figure 2 shows theinteractions between objects, which have aspurpose the drawing of a hyperbola. One cannotice that there are interactions betweeneleven objects, out of which the objects ofVector,Desen2D,Figure 1. Sequence diagram for drawing a parabolaThe diagram illustrates in figure 3 shows theinteractions between objects, which have aspurpose the drawing the normal to a hyperbola.One can notice that there are interactionsbetween nine objects, out of which the objects ofVector, Desen2D and Graphics2Dtype are already created, and the objects ofElement2D, Punct2D, Dreapta2D, MouseEventand Hiperbola2D type will instantiate during theinteractions.These objects are represented on Ox axis and, onOy axis, are represented the messages orderedincreasingly in time. At the beginning, theexecution’s control is undertaken by the objectof Desen2D type which creates an instance of theMouseEvent class.Now, the control is undertaken by this newlycreated instance that will allow to determining apoint. Giving the control to the object ofHiperbola2D type, will verified if the createdpoint belong to the hyperbola.2008/ACTA TECHNICA CORVINIENSIS/Tome I 51

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!