Skip to content

Commit

Permalink
chore(tp-geometry): ajout toString sur Envelope pour simplifier les t…
Browse files Browse the repository at this point in the history
…ests et simplification des schémas
  • Loading branch information
mborne committed Dec 14, 2023
1 parent d60a511 commit 517936a
Show file tree
Hide file tree
Showing 42 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/annexe/tp-geometry/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ <h2 id="06---envelope-et-envelopebuilder">0.6 - Envelope et EnvelopeBuilder</h2>
<p>Nous souhaitons calculer l&#39;emprise d&#39;une géométrie (la bbox). La logique de calcul de min/max en oeuvre étant assez complexe, nous ne souhaitons pas l&#39;implémenter dans les classes <code>Point</code> et <code>LineString</code>.</p>
<p>Nous allons donc procéder comme suit :</p>
<ul>
<li>Ajouter une classe <code>Envelope</code> représentant une emprise rectangulaire de la géométrie</li>
<li>Ajouter une classe <code>Envelope</code> représentant une emprise rectangulaire de la géométrie avec le format suivant pour <code>toString()</code> : <code>xMin,yMin,xMax,yMax</code> (c&#39;est celui de WMS)</li>
<li>Ajouter une classe utilitaire <code>EnvelopeBuilder</code> qui aura pour rôle de construire cette emprise</li>
</ul>
<p><img src="schema/mcd-06.png" alt="Schéma UML"></p>
Expand Down
Binary file modified docs/annexe/tp-geometry/schema/mcd-06.dia
Binary file not shown.
Binary file modified docs/annexe/tp-geometry/schema/mcd-06.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/annexe/tp-geometry/schema/mcd-07.dia
Binary file not shown.
Binary file modified docs/annexe/tp-geometry/schema/mcd-07.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/annexe/tp-geometry/schema/mcd-08.dia
Binary file not shown.
Binary file modified docs/annexe/tp-geometry/schema/mcd-08.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/annexe/tp-geometry/schema/mcd-09.dia
Binary file not shown.
Binary file modified docs/annexe/tp-geometry/schema/mcd-09.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/annexe/tp-geometry/schema/mcd-10.dia
Binary file not shown.
Binary file modified docs/annexe/tp-geometry/schema/mcd-10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/annexe/tp-geometry/schema/mcd-11.dia
Binary file not shown.
Binary file modified docs/annexe/tp-geometry/schema/mcd-11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/annexe/tp-geometry/schema/mcd-12.dia
Binary file not shown.
Binary file modified docs/annexe/tp-geometry/schema/mcd-12.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/annexe/tp-geometry/schema/mcd-13.dia
Binary file not shown.
Binary file modified docs/annexe/tp-geometry/schema/mcd-13.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/annexe/tp-geometry/schema/mcd-14.dia
Binary file not shown.
Binary file modified docs/annexe/tp-geometry/schema/mcd-14.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/annexe/tp-geometry/schema/mcd-20.dia
Binary file not shown.
Binary file removed docs/annexe/tp-geometry/schema/mcd-20.png
Binary file not shown.
2 changes: 1 addition & 1 deletion src/annexe/tp-geometry/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ Nous souhaitons calculer l'emprise d'une géométrie (la bbox). La logique de ca

Nous allons donc procéder comme suit :

* Ajouter une classe `Envelope` représentant une emprise rectangulaire de la géométrie
* Ajouter une classe `Envelope` représentant une emprise rectangulaire de la géométrie avec le format suivant pour `toString()` : `xMin,yMin,xMax,yMax` (c'est celui de WMS)
* Ajouter une classe utilitaire `EnvelopeBuilder` qui aura pour rôle de construire cette emprise

![Schéma UML](schema/mcd-06.png)
Expand Down
Binary file modified src/annexe/tp-geometry/schema/mcd-06.dia
Binary file not shown.
Binary file modified src/annexe/tp-geometry/schema/mcd-06.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/annexe/tp-geometry/schema/mcd-07.dia
Binary file not shown.
Binary file modified src/annexe/tp-geometry/schema/mcd-07.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/annexe/tp-geometry/schema/mcd-08.dia
Binary file not shown.
Binary file modified src/annexe/tp-geometry/schema/mcd-08.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/annexe/tp-geometry/schema/mcd-09.dia
Binary file not shown.
Binary file modified src/annexe/tp-geometry/schema/mcd-09.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/annexe/tp-geometry/schema/mcd-10.dia
Binary file not shown.
Binary file modified src/annexe/tp-geometry/schema/mcd-10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/annexe/tp-geometry/schema/mcd-11.dia
Binary file not shown.
Binary file modified src/annexe/tp-geometry/schema/mcd-11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/annexe/tp-geometry/schema/mcd-12.dia
Binary file not shown.
Binary file modified src/annexe/tp-geometry/schema/mcd-12.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/annexe/tp-geometry/schema/mcd-13.dia
Binary file not shown.
Binary file modified src/annexe/tp-geometry/schema/mcd-13.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/annexe/tp-geometry/schema/mcd-14.dia
Binary file not shown.
Binary file modified src/annexe/tp-geometry/schema/mcd-14.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/annexe/tp-geometry/schema/mcd-20.dia
Binary file not shown.
Binary file removed src/annexe/tp-geometry/schema/mcd-20.png
Binary file not shown.

0 comments on commit 517936a

Please sign in to comment.