From 7b69f85fa39ada61cab12fb42af74817f8379c77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Tue, 26 Nov 2019 17:00:09 +0200 Subject: [PATCH] more calculations --- Karto/assignment4/KTZ004_2019_04_ats.py | 34 ++++++++++++------------- Karto/assignment4/measure.py | 17 +++++++++++++ 2 files changed, 34 insertions(+), 17 deletions(-) diff --git a/Karto/assignment4/KTZ004_2019_04_ats.py b/Karto/assignment4/KTZ004_2019_04_ats.py index 7421552..f7e914b 100755 --- a/Karto/assignment4/KTZ004_2019_04_ats.py +++ b/Karto/assignment4/KTZ004_2019_04_ats.py @@ -15,16 +15,16 @@ for v in vertices: print("""=== Apskaiciuoti liniju stiliu kurimo parametrai (0.001 tikslumu) === === Kelias A-03 === Plotis L1 (duotas) -******* +%.3f""" % L1 + """ Visas kelio A-03 plotis ******* Koeficientas L1 plocio atidejimui (+/-0.001) ******* === Kelias A-05 === Plotis L2 (duotas) -******* +%.3f""" % L2 + """ Plotis L3 (duotas) -******* +%.3f""" % L3 + """ Visas kelio A-05 plotis ******* Koeficientas L2 plocio atidejimui (+/-0.001) @@ -33,17 +33,17 @@ Koeficientas L3 plocio atidejimui (+/-0.001) ******* === Kelias A-08 === Plotis L4 (duotas) -******* +%.3f""" % L3 + """ Plotis L5 (duotas) -******* +%.3f""" % L5 + """ Plotis L6 (duotas) -******* +%.3f""" % L6 + """ Plotis L7 (duotas) -******* +%.3f""" % L7 + """ Plotis L8 (duotas) -******* +%.3f""" % L8 + """ Plotis L9 (duotas) -******* +%.3f""" % L9 + """ Visas kelio A-08 plotis ******* Koeficientas L4 plocio atidejimui (+/-0.001) @@ -60,13 +60,13 @@ Koeficientas L9 plocio atidejimui (+/-0.001) ******* === Griovys G-11 === Plotis L10 (duotas) -******* +%.3f""" % L10 + """ Plotis L11 (duotas) -******* +%.3f""" % L11 + """ Plotis L12 (duotas) -******* +%.3f""" % L12 + """ Plotis L13 (duotas) -******* +%.3f""" % L13 + """ Visas griovio G-11 plotis ******* Koeficientas L10 plocio atidejimui (+/-0.001) @@ -79,13 +79,13 @@ Koeficientas L13 plocio atidejimui (+/-0.001) ******* === Apskaiciuoti keliu ir grioviu plociai BRAIZYMUI (0.001 tikslumu) === Kelio A-03 plotis -******* +%.3f""" % KA03_plotis + """ Kelio A-05 plotis -******* +%.3f""" % KA05_plotis + """ Kelio A-08 plotis -******* +%.3f""" % KA08_plotis + """ Griovio G-11 plotis -******* +%.3f""" % G11_plotis + """ === Apskaiciuota daugiakampio krastine D1 (0.001 tikslumu) === ******* === Apskaiciuotas daugiakampio pasuk.kampas K1 (0.0001 laipsnio tikslumu) === diff --git a/Karto/assignment4/measure.py b/Karto/assignment4/measure.py index 3b46a9f..d0b8298 100755 --- a/Karto/assignment4/measure.py +++ b/Karto/assignment4/measure.py @@ -39,6 +39,23 @@ B = Dec('-2.923') C = Dec('-13.462') N = Dec('9.512') +L1 = Dec('16.321') +# === Kelias A-05 === +L2 = Dec('9.109') +L3 = Dec('4.819') +# === Kelias A-08 === +L4 = Dec('2.675') +L5 = Dec('2.059') +L6 = Dec('1.262') +L7 = Dec('4.170') +L8 = Dec('6.005') +L9 = Dec('6.453') +# === Griovys G-11 === +L10 = Dec('4.882') +L11 = Dec('3.305') +L12 = Dec('2.210') +L13 = Dec('4.381') + # Directional coords + angle X11 = Dec('6091968.055') Y11 = Dec('485944.146')