-
Notifications
You must be signed in to change notification settings - Fork 0
/
TP_POO_1.drawio
53 lines (53 loc) · 7.97 KB
/
TP_POO_1.drawio
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<mxfile host="app.diagrams.net" modified="2024-02-13T20:38:58.649Z" agent="Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/116.0" etag="EiJdyXzPP51gFQPPLmrl" version="23.1.4" type="device">
<diagram name="Page-1" id="c4acf3e9-155e-7222-9cf6-157b1a14988f">
<mxGraphModel dx="1362" dy="749" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" background="none" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="17acba5748e5396b-1" value="'angle donné en arguments" style="shape=umlFrame;whiteSpace=wrap;html=1;rounded=0;shadow=0;comic=0;labelBackgroundColor=none;strokeWidth=1;fontFamily=Verdana;fontSize=10;align=center;" parent="1" vertex="1">
<mxGeometry x="30" y="30" width="820" height="1060" as="geometry" />
</mxCell>
<mxCell id="5d2195bd80daf111-18" value="<p style="margin:0px;margin-top:4px;text-align:center;"><b>Vecteur</b><br></p><hr size="1"><p style="margin:0px;margin-left:4px;">+ [x,y,z]: Array 3x1, Float<br></p><hr size="1"><p style="margin:0px;margin-left:4px;">+ get_vecteur(self):Vecteur<br></p><p style="margin:0px;margin-left:4px;">+ set_vecteur(self,Vecteur)<br></p><p style="margin:0px;margin-left:4px;">+ additionner(self,vecteur): Vecteur</p><p style="margin:0px;margin-left:4px;">+ calculerNorme(self): Float</p><p style="margin:0px;margin-left:4px;">+ calculerProduitScalaire(self,Vecteur): Float</p><p style="margin:0px;margin-left:4px;">+ tourner(self, Float): Vecteur</p><p style="margin:0px;margin-left:4px;">+ afficher(self)<br></p>" style="verticalAlign=top;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica;html=1;rounded=0;shadow=0;comic=0;labelBackgroundColor=none;strokeWidth=1" parent="1" vertex="1">
<mxGeometry x="100" y="80" width="250" height="173" as="geometry" />
</mxCell>
<mxCell id="l0COVjs3pqmG3jnXkAzZ-2" value="<p style="margin:0px;margin-top:4px;text-align:center;"><b>Triangle</b><br></p><hr size="1"><p style="margin:0px;margin-left:4px;">+ Arrête1: Vecteur</p><p style="margin:0px;margin-left:4px;">+ Arrête2: Vecteur</p><p style="margin:0px;margin-left:4px;">+ Arrête3: Vecteur</p><hr size="1"><p style="margin:0px;margin-left:4px;">+ get_triangle(self):Triangle<br></p><p style="margin:0px;margin-left:4px;">+ set_triangle(self,Triangle)</p><p style="margin:0px;margin-left:4px;">+ deplacer(self,Vecteur)<br></p><p style="margin:0px;margin-left:4px;">+ tourner(self, Float)<br></p><p style="margin:0px;margin-left:4px;">+ afficher(self)<br></p>" style="verticalAlign=top;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica;html=1;rounded=0;shadow=0;comic=0;labelBackgroundColor=none;strokeWidth=1" vertex="1" parent="1">
<mxGeometry x="450" y="80" width="260" height="200" as="geometry" />
</mxCell>
<mxCell id="l0COVjs3pqmG3jnXkAzZ-3" value="1" style="endArrow=open;html=1;endSize=12;startArrow=diamondThin;startSize=14;startFill=1;edgeStyle=orthogonalEdgeStyle;align=left;verticalAlign=bottom;rounded=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="l0COVjs3pqmG3jnXkAzZ-2" target="5d2195bd80daf111-18">
<mxGeometry x="-1" y="3" relative="1" as="geometry">
<mxPoint x="370" y="170" as="sourcePoint" />
<mxPoint x="440" y="170" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="l0COVjs3pqmG3jnXkAzZ-4" value="<p style="margin:0px;margin-top:4px;text-align:center;"><b>Couleur</b><br></p><hr size="1"><p style="margin:0px;margin-left:4px;">+ [r,v,b]: Array 1x3, int<br></p><hr size="1"><p style="margin:0px;margin-left:4px;">+ get_couleur(self):Couleur<br></p><p style="margin:0px;margin-left:4px;">+ set_couleur(self,Couleur)<br></p>" style="verticalAlign=top;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica;html=1;rounded=0;shadow=0;comic=0;labelBackgroundColor=none;strokeWidth=1" vertex="1" parent="1">
<mxGeometry x="90" y="370" width="250" height="173" as="geometry" />
</mxCell>
<mxCell id="l0COVjs3pqmG3jnXkAzZ-5" value="<p style="margin:0px;margin-top:4px;text-align:center;"><b>Objet3D</b><br></p><hr size="1"><p style="margin:0px;margin-left:4px;">+ List[]: Triangle</p><p style="margin:0px;margin-left:4px;">+ centre : Vecteur</p><p style="margin:0px;margin-left:4px;">+ couleur : Couleur<br></p><hr size="1"><p style="margin:0px;margin-left:4px;">+ get_objet3D(self):Objet3D<br></p><p style="margin:0px;margin-left:4px;">+ set_objet3D(self,Objet3D)</p><p style="margin:0px;margin-left:4px;">+ afficher(self)</p><p style="margin:0px;margin-left:4px;">+ ajouter(self,Triangle)<br></p>&nbsp;+ deplacer(self,Vecteur)<p style="margin:0px;margin-left:4px;"><br></p><p style="margin:0px;margin-left:4px;"><br></p>" style="verticalAlign=top;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica;html=1;rounded=0;shadow=0;comic=0;labelBackgroundColor=none;strokeWidth=1" vertex="1" parent="1">
<mxGeometry x="390" y="377" width="250" height="203" as="geometry" />
</mxCell>
<mxCell id="l0COVjs3pqmG3jnXkAzZ-6" value="1" style="endArrow=open;html=1;endSize=12;startArrow=diamondThin;startSize=14;startFill=1;edgeStyle=orthogonalEdgeStyle;align=left;verticalAlign=bottom;rounded=0;entryX=0.992;entryY=0.312;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1" source="l0COVjs3pqmG3jnXkAzZ-5" target="l0COVjs3pqmG3jnXkAzZ-4">
<mxGeometry x="-1" y="3" relative="1" as="geometry">
<mxPoint x="340" y="320" as="sourcePoint" />
<mxPoint x="500" y="320" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="l0COVjs3pqmG3jnXkAzZ-7" value="1" style="endArrow=open;html=1;endSize=12;startArrow=diamondThin;startSize=14;startFill=1;edgeStyle=orthogonalEdgeStyle;align=left;verticalAlign=bottom;rounded=0;entryX=0.196;entryY=0.99;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1" source="l0COVjs3pqmG3jnXkAzZ-5" target="l0COVjs3pqmG3jnXkAzZ-2">
<mxGeometry x="-1" y="3" relative="1" as="geometry">
<mxPoint x="340" y="320" as="sourcePoint" />
<mxPoint x="500" y="320" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="l0COVjs3pqmG3jnXkAzZ-8" value="1" style="endArrow=open;html=1;endSize=12;startArrow=diamondThin;startSize=14;startFill=1;edgeStyle=orthogonalEdgeStyle;align=left;verticalAlign=bottom;rounded=0;exitX=0.168;exitY=0.015;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.848;entryY=0.994;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1" source="l0COVjs3pqmG3jnXkAzZ-5" target="5d2195bd80daf111-18">
<mxGeometry x="-1" y="3" relative="1" as="geometry">
<mxPoint x="340" y="320" as="sourcePoint" />
<mxPoint x="500" y="320" as="targetPoint" />
<Array as="points">
<mxPoint x="432" y="340" />
<mxPoint x="312" y="340" />
</Array>
</mxGeometry>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>