stud/Karto/assignment3/measure.py

87 lines
3.8 KiB
Python
Raw Normal View History

2019-11-18 11:36:19 +02:00
#!/usr/bin/env python3
from decimal import Decimal
from deg import Deg
# Pataisos ATKARPOMS:
A = Decimal('-2.207')
B = Decimal('1.999')
C = Decimal('4.838')
D = Decimal('2.862')
E = Decimal('-5.907')
F = Decimal('-3.744')
G = Decimal('-1.466')
H = Decimal('6.841')
M = Decimal('-4.824')
# Pataisos KAMPAMS:
K = Decimal('-7.7422786')
L = Decimal('-6.6428275')
N = Decimal('-4.2872043')
P = Decimal('-3.1145084')
R = Decimal('-7.2564859')
S = Decimal('3.8874407')
T = Decimal('-8.7554531')
# Sklypu pradiniu tasku (1 ir 15) koordinates:
X1 = Decimal('16639.290')
Y1 = Decimal('25500.960')
X15 = Decimal('17191.590')
Y15 = Decimal('25121.430')
# Sklypu sujungimo tasko T3 koordinates:
XT3 = Decimal('16971.790')
YT3 = Decimal('26685.160')
print("""
Atkarpos:
1L-1 = 125.829 + G = %.3f""" % (Decimal('125.829') + G) + """
1L-2 = 81.682 + E = %.3f""" % (Decimal('81.682') + E) + """
1L-3 = 61.206 + H = %.3f""" % (Decimal('61.206') + H) + """
1L-4 = 121.055 + D = %.3f""" % (Decimal('121.055') + D) + """
1L-5 = 79.892 + B = %.3f""" % (Decimal('79.892') + B) + """
1L-6 = 159.299 + H = %.3f""" % (Decimal('159.299') + H) + """
1L-7 = 76.500 + E = %.3f""" % (Decimal('76.500') + E) + """
1L-8 = 51.091 + G = %.3f""" % (Decimal('51.091') + G) + """
1L-9 = 93.765 + F = %.3f""" % (Decimal('93.765') + F) + """
1L-10 = 58.926 + D = %.3f""" % (Decimal('58.926') + D) + """
1L-11 = 79.061 + M = %.3f""" % (Decimal('79.061') + M) + """
1L-12 = 121.209 + D = %.3f""" % (Decimal('121.209') + D) + """
1L-13 = 94.071 + C = %.3f""" % (Decimal('94.071') + C) + """
2L-1 = 205.221 + C = %.3f""" % (Decimal('205.221') + C) + """
2L-2 = 122.820 + G = %.3f""" % (Decimal('122.820') + G) + """
2L-3 = 178.657 + H = %.3f""" % (Decimal('178.657') + H) + """
2L-4 = 116.987 + B = %.3f""" % (Decimal('116.987') + B) + """
2L-5 = 84.793 + H = %.3f""" % (Decimal('84.793') + H) + """
2L-6 = 138.291 + F = %.3f""" % (Decimal('138.291') + F) + """
2L-7 = 85.607 + H = %.3f""" % (Decimal('85.607') + H) + """
2L-8 = 114.589 + G = %.3f""" % (Decimal('114.589') + G) + """
2L-9 = 79.210 + D = %.3f""" % (Decimal('79.210') + D) + """
Kampai:
2019-11-18 12:00:08 +02:00
1K-1(L-M-S) = 84-03-08.3 + P = %3.7f""" % (Deg.guess('84-03-08.3').frac + P) + """
1K-2(L-M-S) = 112-58-25.4 + S = %3.7f""" % (Deg.guess('112-58-25.4').frac + S) + """
1K-3(L) = 54.3107235 + L = %3.7f""" % (Deg.guess('54.3107235').frac + L) + """
1K-4(L-M-S) = 84-33-44.2 + S = %3.7f""" % (Deg.guess('84-33-44.2').frac + S) + """
1K-5(L) = 7.8383177 + P = %3.7f""" % (Deg.guess('7.8383177').frac + P) + """
1K-6(L-M-S) = 23-15-32.7 + P = %3.7f""" % (Deg.guess('23-15-32.7').frac + P) + """
1K-7(L) = 126.2540802 + K = %3.7f""" % (Deg.guess('126.2540802').frac + K) + """
1K-8(L-M-S) = 205-29-57.8 + K = %3.7f""" % (Deg.guess('205-29-57.8').frac + K) + """
1K-9(L) = 101.7366025 + S = %3.7f""" % (Deg.guess('101.7366025').frac + S) + """
1K-10(L-M-S) = 160-23-45.2 + T = %3.7f""" % (Deg.guess('160-23-45.2').frac + T) + """
1K-11(L) = 79.8680017 + K = %3.7f""" % (Deg.guess('79.8680017').frac + K) + """
1K-12(L-M-S) = 52-28-42.4 + R = %3.7f""" % (Deg.guess('52-28-42.4').frac + R) + """
1K-13(L-M-S) = 109-01-49.8 + T = %3.7f""" % (Deg.guess('109-01-49.8').frac + T) + """
2019-11-18 11:36:19 +02:00
2019-11-18 12:00:08 +02:00
2K-1(L-M-S) = 84-00-34.4 + L = %3.7f""" % (Deg.guess('84-00-34.4').frac + L) + """
2K-2(L) = 76.1245808 + N = %3.7f""" % (Deg.guess('76.1245808').frac + N) + """
2K-3(L-M-S) = 54-13-28.3 + P = %3.7f""" % (Deg.guess('54-13-28.3').frac + P) + """
2K-4(L) = 182.7394778 + S = %3.7f""" % (Deg.guess('182.7394778').frac + S) + """
2K-5(L-M-S) = 162-45-25.7 + L = %3.7f""" % (Deg.guess('162-45-25.7').frac + L) + """
2K-6(L-M-S) = 60-41-55.2 + S = %3.7f""" % (Deg.guess('60-41-55.2').frac + S) + """
2K-7(L) = 69.4792556 + R = %3.7f""" % (Deg.guess('69.4792556').frac + R) + """
2K-8(L-M-S) = 130-50-06.1 + L = %3.7f""" % (Deg.guess('130-50-06.1').frac + L) + """
2K-9(L-M-S) = 84-08-54.3 + K = %3.7f""" % (Deg.guess('84-08-54.3').frac + K) + """
2019-11-18 11:36:19 +02:00
""")