stud/Karto/assignment4/KTZ004_2019_04_ats.py

138 lines
3.7 KiB
Python
Raw Normal View History

2019-11-26 16:55:44 +02:00
#!/usr/bin/env python3
from measure import *
print("""Uzduotis Nr.
KTZ004_2019_04
Braize (Pavarde_Vardas):
Motiejus_Jakstys
=== Apskaiciuotos posukio tasku koordinates (LKS94 koord.sist. 0.00 tikslumu)===""")
for v in vertices:
print("Tasko Nr.%d koordinates" % v.point)
2019-11-30 11:20:56 +02:00
print("X = %.2f" % v.coords.lksx)
print("Y = %.2f" % v.coords.lksy)
2019-11-26 16:55:44 +02:00
print("""=== Apskaiciuoti liniju stiliu kurimo parametrai (0.001 tikslumu) ===
=== Kelias A-03 ===
Plotis L1 (duotas)
2019-11-26 17:00:09 +02:00
%.3f""" % L1 + """
2019-11-26 16:55:44 +02:00
Visas kelio A-03 plotis
2019-11-28 19:55:27 +02:00
%.3f""" % L1 + """
2019-11-26 16:55:44 +02:00
Koeficientas L1 plocio atidejimui (+/-0.001)
2019-11-28 22:34:47 +02:00
+1.0
2019-11-26 16:55:44 +02:00
=== Kelias A-05 ===
Plotis L2 (duotas)
2019-11-26 17:00:09 +02:00
%.3f""" % L2 + """
2019-11-26 16:55:44 +02:00
Plotis L3 (duotas)
2019-11-26 17:00:09 +02:00
%.3f""" % L3 + """
2019-11-26 16:55:44 +02:00
Visas kelio A-05 plotis
2019-11-28 17:51:15 +02:00
%.3f""" % A05_plotis + """
2019-11-26 16:55:44 +02:00
Koeficientas L2 plocio atidejimui (+/-0.001)
2019-11-28 22:34:47 +02:00
%+.3f""" % (-L2/(L2+L3)) + """
2019-11-26 16:55:44 +02:00
Koeficientas L3 plocio atidejimui (+/-0.001)
2019-11-28 22:34:47 +02:00
%+.3f""" % (L3/(L2+L3)) + """
2019-11-26 16:55:44 +02:00
=== Kelias A-08 ===
Plotis L4 (duotas)
2019-11-26 17:00:09 +02:00
%.3f""" % L3 + """
2019-11-26 16:55:44 +02:00
Plotis L5 (duotas)
2019-11-26 17:00:09 +02:00
%.3f""" % L5 + """
2019-11-26 16:55:44 +02:00
Plotis L6 (duotas)
2019-11-26 17:00:09 +02:00
%.3f""" % L6 + """
2019-11-26 16:55:44 +02:00
Plotis L7 (duotas)
2019-11-26 17:00:09 +02:00
%.3f""" % L7 + """
2019-11-26 16:55:44 +02:00
Plotis L8 (duotas)
2019-11-26 17:00:09 +02:00
%.3f""" % L8 + """
2019-11-26 16:55:44 +02:00
Plotis L9 (duotas)
2019-11-26 17:00:09 +02:00
%.3f""" % L9 + """
2019-11-26 16:55:44 +02:00
Visas kelio A-08 plotis
2019-11-28 17:51:15 +02:00
%.3f""" % A08_plotis + """
2019-11-26 16:55:44 +02:00
Koeficientas L4 plocio atidejimui (+/-0.001)
2019-11-28 22:34:47 +02:00
%+.3f""" % (-L4/(L4+L5+L6+L7+L8+L9)) + """
2019-11-26 16:55:44 +02:00
Koeficientas L5 plocio atidejimui (+/-0.001)
2019-11-28 22:34:47 +02:00
%+.3f""" % (-L5/(L4+L5+L6+L7+L8+L9)) + """
2019-11-26 16:55:44 +02:00
Koeficientas L6 plocio atidejimui (+/-0.001)
2019-11-28 22:34:47 +02:00
%+.3f""" % (-L6/(L4+L5+L6+L7+L8+L9)) + """
2019-11-26 16:55:44 +02:00
Koeficientas L7 plocio atidejimui (+/-0.001)
2019-11-28 22:34:47 +02:00
%+.3f""" % (L7/(L4+L5+L6+L7+L8+L9)) + """
2019-11-26 16:55:44 +02:00
Koeficientas L8 plocio atidejimui (+/-0.001)
2019-11-28 22:34:47 +02:00
%+.3f""" % (L8/(L4+L5+L6+L7+L8+L9)) + """
2019-11-26 16:55:44 +02:00
Koeficientas L9 plocio atidejimui (+/-0.001)
2019-11-28 22:34:47 +02:00
%+.3f""" % (L9/(L4+L5+L6+L7+L8+L9)) + """
2019-11-26 16:55:44 +02:00
=== Griovys G-11 ===
Plotis L10 (duotas)
2019-11-26 17:00:09 +02:00
%.3f""" % L10 + """
2019-11-26 16:55:44 +02:00
Plotis L11 (duotas)
2019-11-26 17:00:09 +02:00
%.3f""" % L11 + """
2019-11-26 16:55:44 +02:00
Plotis L12 (duotas)
2019-11-26 17:00:09 +02:00
%.3f""" % L12 + """
2019-11-26 16:55:44 +02:00
Plotis L13 (duotas)
2019-11-26 17:00:09 +02:00
%.3f""" % L13 + """
2019-11-26 16:55:44 +02:00
Visas griovio G-11 plotis
2019-11-28 17:51:15 +02:00
%.3f""" % G11_plotis + """
2019-11-26 16:55:44 +02:00
Koeficientas L10 plocio atidejimui (+/-0.001)
2019-11-28 22:34:47 +02:00
%+.3f""" % (-L10/(L10+L11+L12+L13)) + """
2019-11-26 16:55:44 +02:00
Koeficientas L11 plocio atidejimui (+/-0.001)
2019-11-28 22:34:47 +02:00
%+.3f""" % (-L11/(L10+L11+L12+L13)) + """
2019-11-26 16:55:44 +02:00
Koeficientas L12 plocio atidejimui (+/-0.001)
2019-11-28 22:34:47 +02:00
%+.3f""" % (L12/(L10+L11+L12+L13)) + """
2019-11-26 16:55:44 +02:00
Koeficientas L13 plocio atidejimui (+/-0.001)
2019-11-28 22:34:47 +02:00
%+.3f""" % (L13/(L10+L11+L12+L13)) + """
2019-11-26 16:55:44 +02:00
=== Apskaiciuoti keliu ir grioviu plociai BRAIZYMUI (0.001 tikslumu) ===
Kelio A-03 plotis
2019-11-30 01:31:13 +02:00
%.3f""" % A03_plotis + """
2019-11-26 16:55:44 +02:00
Kelio A-05 plotis
2019-11-30 01:31:13 +02:00
%.3f""" % A05_plotis + """
2019-11-26 16:55:44 +02:00
Kelio A-08 plotis
2019-11-30 01:31:13 +02:00
%.3f""" % A08_plotis + """
2019-11-26 16:55:44 +02:00
Griovio G-11 plotis
2019-11-26 17:00:09 +02:00
%.3f""" % G11_plotis + """
2019-11-26 16:55:44 +02:00
=== Apskaiciuota daugiakampio krastine D1 (0.001 tikslumu) ===
2019-11-27 10:21:55 +02:00
%.3f""" % D1 + """
2019-11-26 16:55:44 +02:00
=== Apskaiciuotas daugiakampio pasuk.kampas K1 (0.0001 laipsnio tikslumu) ===
2019-11-27 10:21:55 +02:00
%.4f""" % K1 + """
2019-11-26 16:55:44 +02:00
=== Apskaiciuotas atstumas iki uzliejimo zonos A1 (0.001 tikslumu) ===
2019-11-27 10:21:55 +02:00
%.3f""" % A1 + """
2019-11-26 16:55:44 +02:00
=============== Ismatuota brezinyje ================
=== Keliu ir grioviu asiu ilgiai (0.001 m tikslumu) ===
== Kelias A-03 ==
Asies 11-12-13-14-15-16-17-18 ilgis
2019-11-30 01:31:13 +02:00
%.3f""" % keliu_ilgiai['A-03'] + """
2019-11-26 16:55:44 +02:00
==Kelias A-05 ==
Asies 4-5-6-7-8-9-10 ilgis
2019-11-30 01:31:13 +02:00
%.3f""" % keliu_ilgiai['A-05'] + """
2019-11-26 16:55:44 +02:00
== Kelias A-08 ==
Asies 1-2-3 ilgis
2019-11-30 01:31:13 +02:00
%.3f""" % keliu_ilgiai['A-08'] + """
2019-11-26 16:55:44 +02:00
== Griovys G-11 ==
Asies 19-20-21-22-23-24 ilgis
2019-11-30 01:31:13 +02:00
%.3f""" % keliu_ilgiai['G-11'] + """
2019-11-26 16:55:44 +02:00
Visas keliu/Grioviu tinklo ilgis (pagal asis)
2019-11-30 01:31:13 +02:00
%.3f""" % sum(keliu_ilgiai.values()) + """
2019-11-26 16:55:44 +02:00
=== Uzlietu zemenaudmenu plotai (0.001 m2 tikslumu) ===
Miskas
2019-11-30 02:52:16 +02:00
24413.152
2019-11-26 16:55:44 +02:00
Ariama
2019-11-30 02:52:16 +02:00
2797.416
2019-11-26 16:55:44 +02:00
Sodas
2019-11-30 02:52:16 +02:00
3224.118
2019-11-26 16:55:44 +02:00
Pieva
2019-11-30 02:52:16 +02:00
0.000
2019-11-26 16:55:44 +02:00
Ganykla
2019-11-30 02:52:16 +02:00
1653.369
2019-11-26 16:55:44 +02:00
Krumai
2019-11-30 02:52:16 +02:00
1998.581
2019-11-26 16:55:44 +02:00
Kelias A-03
2019-11-30 02:52:16 +02:00
5271.599
2019-11-26 16:55:44 +02:00
Kelias A-05
2019-11-30 02:52:16 +02:00
3019.468
2019-11-26 16:55:44 +02:00
Kelias A-08
2019-11-30 02:52:16 +02:00
0.000
2019-11-26 16:55:44 +02:00
Griovys G-11
2019-11-30 02:52:16 +02:00
3738.362
2019-11-26 16:55:44 +02:00
Visas prognozuojamo uzliejimo plotas (0.001 m2 tikslumu)
2019-11-30 02:41:33 +02:00
%.3f""" % heptagon_area + """
2019-11-26 16:55:44 +02:00
Visas uzlietas plotas (0.001 m2 tikslumu)
2019-11-30 02:41:33 +02:00
%.3f""" % circle_area + """
2019-11-26 16:55:44 +02:00
Plotas kuris liko neuzlietas (0.001 m2 tikslumu)
2019-11-30 02:41:33 +02:00
%.3f""" % (heptagon_area - circle_area))