geometrix 0.5.10 → 0.5.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/dist/index.d.ts +505 -0
  2. package/dist/index.js +3848 -0
  3. package/package.json +7 -1
  4. package/.eslintignore +0 -17
  5. package/.eslintrc.cjs +0 -24
  6. package/.prettierignore +0 -15
  7. package/.prettierrc +0 -8
  8. package/src/aaExportContent.ts +0 -213
  9. package/src/aaExportFile.ts +0 -141
  10. package/src/aaParamGeom.ts +0 -62
  11. package/src/angle_utils.test.ts +0 -83
  12. package/src/angle_utils.ts +0 -98
  13. package/src/arc_to_stroke.ts +0 -73
  14. package/src/canvas_utils.test.ts +0 -28
  15. package/src/canvas_utils.ts +0 -159
  16. package/src/contour.test.ts +0 -37
  17. package/src/contour.ts +0 -806
  18. package/src/designParams.ts +0 -178
  19. package/src/figure.test.ts +0 -21
  20. package/src/figure.ts +0 -400
  21. package/src/index.ts +0 -16
  22. package/src/line.test.ts +0 -78
  23. package/src/line.ts +0 -359
  24. package/src/paramFile.ts +0 -52
  25. package/src/point.test.ts +0 -36
  26. package/src/point.ts +0 -246
  27. package/src/prepare_pax.ts +0 -102
  28. package/src/segment.test.ts +0 -26
  29. package/src/segment.ts +0 -701
  30. package/src/sub_design.ts +0 -16
  31. package/src/triangle_utils.test.ts +0 -38
  32. package/src/triangle_utils.ts +0 -112
  33. package/src/vector.test.ts +0 -28
  34. package/src/vector.ts +0 -122
  35. package/src/volume.ts +0 -50
  36. package/src/write_dxf.ts +0 -100
  37. package/src/write_openjscad.ts +0 -284
  38. package/src/write_openscad.ts +0 -305
  39. package/src/write_pax.ts +0 -73
  40. package/src/write_svg.ts +0 -101
  41. package/svg/any_triangle.svg +0 -156
  42. package/svg/arc_definition.svg +0 -506
  43. package/svg/construct_corner_rounded_ext_arc_ext_arc.svg +0 -378
  44. package/svg/construct_corner_rounded_int_arc_ext_arc.svg +0 -359
  45. package/svg/construct_corner_rounded_int_arc_int_arc.svg +0 -356
  46. package/svg/construct_corner_rounded_stroke_ext_arc.svg +0 -374
  47. package/svg/construct_corner_rounded_stroke_ext_arc_obtuse.svg +0 -370
  48. package/svg/construct_corner_rounded_stroke_ext_arc_obtuse_method2.svg +0 -311
  49. package/svg/construct_corner_rounded_stroke_int_arc.svg +0 -364
  50. package/svg/construct_corner_rounded_stroke_int_arc_obtuse.svg +0 -358
  51. package/svg/construct_corner_rounded_stroke_int_arc_obtuse_method2.svg +0 -237
  52. package/svg/construct_corner_rounded_stroke_stroke.svg +0 -280
  53. package/svg/construct_corner_wideacc.svg +0 -286
  54. package/svg/construct_corner_widened.svg +0 -278
  55. package/svg/construction_of_line_intersection_1.svg +0 -187
  56. package/svg/construction_of_line_intersection_2.svg +0 -189
  57. package/svg/contour_arc_definition_options.svg +0 -324
  58. package/svg/contour_point_absolute_relative.svg +0 -258
  59. package/svg/contour_tangential_two_arcs.svg +0 -531
  60. package/svg/contour_tangential_two_arcs_impossible_case.svg +0 -175
  61. package/svg/contour_tangential_two_arcs_requirements.svg +0 -364
  62. package/svg/corner_rounded_ext_arc_ext_arc.svg +0 -281
  63. package/svg/corner_rounded_int_arc_ext_arc.svg +0 -281
  64. package/svg/corner_rounded_int_arc_int_arc.svg +0 -279
  65. package/svg/corner_rounded_stroke_ext_arc.svg +0 -218
  66. package/svg/corner_rounded_stroke_int_arc.svg +0 -225
  67. package/svg/corner_rounded_stroke_stroke.svg +0 -174
  68. package/svg/geom_dev.svg +0 -14708
  69. package/svg/geom_modules.svg +0 -246
  70. package/svg/geom_user.svg +0 -58
  71. package/svg/line_axis_x_cases.svg +0 -1408
  72. package/svg/line_axis_y_cases.svg +0 -1369
  73. package/svg/line_distanceOrig.svg +0 -318
  74. package/svg/line_getAxisXIntersection.svg +0 -262
  75. package/svg/line_getAxisXIntersection_2.svg +0 -244
  76. package/svg/line_getAxisYIntersection.svg +0 -304
  77. package/svg/line_getAxisYIntersection_2.svg +0 -285
  78. package/svg/line_getAxisYIntersection_3.svg +0 -277
  79. package/svg/line_intersection.svg +0 -346
  80. package/svg/line_projectPoint.svg +0 -311
  81. package/svg/point_1.svg +0 -243
  82. package/svg/point_2.svg +0 -409
  83. package/svg/point_3.svg +0 -298
  84. package/svg/point_4.svg +0 -272
  85. package/svg/point_5.svg +0 -356
  86. package/svg/right_triangle.svg +0 -194
  87. package/svg/vector_definition.svg +0 -130
  88. package/tsconfig.json +0 -13
  89. package/vitest.config.ts +0 -7
package/svg/point_3.svg DELETED
@@ -1,298 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
- <!-- Created with Inkscape (http://www.inkscape.org/) -->
3
-
4
- <svg
5
- width="235.73596"
6
- height="212.58441"
7
- viewBox="0 0 62.371807 56.246292"
8
- version="1.1"
9
- id="svg5"
10
- xmlns="http://www.w3.org/2000/svg"
11
- xmlns:svg="http://www.w3.org/2000/svg">
12
- <defs
13
- id="defs2">
14
- <rect
15
- x="360.86697"
16
- y="625.1861"
17
- width="74.830307"
18
- height="41.574718"
19
- id="rect8582" />
20
- <rect
21
- x="295.25366"
22
- y="672.20062"
23
- width="112.02222"
24
- height="27.867195"
25
- id="rect8574" />
26
- <rect
27
- x="231.68579"
28
- y="586.82715"
29
- width="161.47009"
30
- height="27.433592"
31
- id="rect8568" />
32
- <marker
33
- style="overflow:visible"
34
- id="Arrow1L-36"
35
- refX="0"
36
- refY="0"
37
- orient="auto-start-reverse"
38
- markerWidth="8.75"
39
- markerHeight="5"
40
- viewBox="0 0 8.75 5"
41
- preserveAspectRatio="xMidYMid">
42
- <path
43
- style="fill:context-stroke;fill-rule:evenodd;stroke:none"
44
- d="M 0,0 5,-5 -12.5,0 5,5 Z"
45
- id="arrow1L-1"
46
- transform="scale(-0.5)" />
47
- </marker>
48
- <marker
49
- style="overflow:visible"
50
- id="Arrow1L-3-0"
51
- refX="0"
52
- refY="0"
53
- orient="auto-start-reverse"
54
- markerWidth="8.75"
55
- markerHeight="5"
56
- viewBox="0 0 8.75 5"
57
- preserveAspectRatio="xMidYMid">
58
- <path
59
- style="fill:context-stroke;fill-rule:evenodd;stroke:none"
60
- d="M 0,0 5,-5 -12.5,0 5,5 Z"
61
- id="arrow1L-6-6"
62
- transform="scale(-0.5)" />
63
- </marker>
64
- <rect
65
- x="254.32079"
66
- y="237.99036"
67
- width="38.556549"
68
- height="34.914055"
69
- id="rect1269-3" />
70
- <rect
71
- x="130.98518"
72
- y="140.53645"
73
- width="42.711418"
74
- height="43.171246"
75
- id="rect1287-2" />
76
- <rect
77
- x="232.47569"
78
- y="161.36501"
79
- width="28.095083"
80
- height="22.501993"
81
- id="rect1388-06" />
82
- <rect
83
- x="200.71475"
84
- y="288.1904"
85
- width="52.316872"
86
- height="19.744669"
87
- id="rect1406-1" />
88
- <rect
89
- x="200.71475"
90
- y="288.1904"
91
- width="52.316872"
92
- height="19.744669"
93
- id="rect1406-3-5" />
94
- <rect
95
- x="63.429256"
96
- y="333.06458"
97
- width="158.36295"
98
- height="29.330603"
99
- id="rect3974-7" />
100
- <rect
101
- x="232.47569"
102
- y="161.36501"
103
- width="28.095083"
104
- height="22.501993"
105
- id="rect1388-06-8" />
106
- <rect
107
- x="232.47569"
108
- y="161.36501"
109
- width="28.095083"
110
- height="22.501993"
111
- id="rect1388-06-4" />
112
- <rect
113
- x="232.47569"
114
- y="161.36501"
115
- width="28.095083"
116
- height="22.501993"
117
- id="rect1388-06-89" />
118
- </defs>
119
- <g
120
- id="layer1"
121
- transform="translate(-24.32703,-146.83324)">
122
- <rect
123
- style="fill:#ffffff;stroke:#ffffff;stroke-width:0.264583;stroke-dasharray:none;stroke-dashoffset:0"
124
- id="rect3918-6"
125
- width="62.10722"
126
- height="55.981705"
127
- x="24.45932"
128
- y="146.96553" />
129
- <path
130
- style="fill:none;stroke:#999999;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1L-36)"
131
- d="M 48.28509,195.91056 V 168.09241"
132
- id="path196-5" />
133
- <path
134
- style="fill:none;stroke:#999999;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1L-3-0)"
135
- d="M 26.953271,189.99964 H 69.616909"
136
- id="path196-7-6" />
137
- <text
138
- xml:space="preserve"
139
- transform="matrix(0.26458333,0,0,0.26458333,1.8751066,127.17562)"
140
- id="text1267-9"
141
- style="font-size:14.6667px;line-height:1.25;font-family:sans-serif;white-space:pre;shape-inside:url(#rect1269-3);display:inline"><tspan
142
- x="254.32031"
143
- y="250.96683"
144
- id="tspan4177">x</tspan></text>
145
- <text
146
- xml:space="preserve"
147
- transform="matrix(0.26458333,0,0,0.26458333,10.511817,128.96683)"
148
- id="text1285-3"
149
- style="font-size:14.6667px;line-height:1.25;font-family:sans-serif;white-space:pre;shape-inside:url(#rect1287-2);display:inline"><tspan
150
- x="130.98438"
151
- y="153.5137"
152
- id="tspan4179">y</tspan></text>
153
- <path
154
- style="fill:none;stroke:#cccccc;stroke-width:0.264583;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:2, 1;stroke-dashoffset:0;stroke-opacity:1"
155
- d="M 57.802598,189.99964 V 173.05739 H 48.28509"
156
- id="path1384-7" />
157
- <text
158
- xml:space="preserve"
159
- transform="matrix(0.26458333,0,0,0.26458333,-2.6724735,129.69869)"
160
- id="text1386-25"
161
- style="font-size:14.6667px;line-height:1.25;font-family:sans-serif;white-space:pre;shape-inside:url(#rect1388-06);display:inline"><tspan
162
- x="232.47656"
163
- y="174.34183"
164
- id="tspan4181">p1</tspan></text>
165
- <text
166
- xml:space="preserve"
167
- transform="matrix(0.26458333,0,0,0.26458333,2.2148923,114.71081)"
168
- id="text1404-4"
169
- style="font-size:8px;line-height:1.25;font-family:sans-serif;white-space:pre;shape-inside:url(#rect1406-1);display:inline"><tspan
170
- x="200.71484"
171
- y="295.26758"
172
- id="tspan4183">p1.cx</tspan></text>
173
- <text
174
- xml:space="preserve"
175
- transform="matrix(0.26458333,0,0,0.26458333,-12.117919,95.785814)"
176
- id="text1404-5-74"
177
- style="font-size:8px;line-height:1.25;font-family:sans-serif;white-space:pre;shape-inside:url(#rect1406-3-5);display:inline"><tspan
178
- x="200.71484"
179
- y="295.26758"
180
- id="tspan4185">p1.cy</tspan></text>
181
- <path
182
- style="fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
183
- d="m 47.526434,173.05739 h 1.517311"
184
- id="path1476-4" />
185
- <path
186
- style="fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
187
- d="m 57.802598,190.92424 v -1.8492"
188
- id="path1478-3" />
189
- <text
190
- xml:space="preserve"
191
- transform="matrix(0.26458333,0,0,0.26458333,10.040598,109.57494)"
192
- id="text3972-8"
193
- style="font-size:14.6667px;line-height:1.25;font-family:sans-serif;white-space:pre;shape-inside:url(#rect3974-7);display:inline"><tspan
194
- x="63.429688"
195
- y="346.04105"
196
- id="tspan4187">Point-3</tspan></text>
197
- <text
198
- xml:space="preserve"
199
- transform="matrix(0.26458333,0,0,0.26458333,-32.317964,137.1576)"
200
- id="text1386-25-1"
201
- style="font-size:14.6667px;line-height:1.25;font-family:sans-serif;white-space:pre;shape-inside:url(#rect1388-06-8);display:inline"><tspan
202
- x="232.47656"
203
- y="174.34183"
204
- id="tspan4189">pc</tspan></text>
205
- <path
206
- style="fill:none;stroke:#b3b3b3;stroke-width:0.264583;stroke-dasharray:none;stroke-dashoffset:0"
207
- id="path8340"
208
- d="m 42.743864,155.95643 a 24.699261,25.227526 0 0 1 15.160408,17.39574" />
209
- <path
210
- style="fill:none;stroke:#87deaa;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
211
- d="m 33.95803,179.53396 8.785833,-23.57753"
212
- id="path8405" />
213
- <path
214
- style="fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
215
- d="m 42.155952,156.70135 1.175826,-1.48983"
216
- id="path1355-4-9" />
217
- <path
218
- style="fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
219
- d="m 41.99895,155.36852 1.489829,1.17583"
220
- id="path1355-5-5-2" />
221
- <text
222
- xml:space="preserve"
223
- transform="matrix(0.26458333,0,0,0.26458333,-24.707372,110.14761)"
224
- id="text1386-25-0"
225
- style="font-size:14.6667px;line-height:1.25;font-family:sans-serif;white-space:pre;shape-inside:url(#rect1388-06-4);display:inline;fill:#217821"><tspan
226
- x="232.47656"
227
- y="174.34183"
228
- id="tspan4191">p5</tspan></text>
229
- <path
230
- style="fill:none;stroke:#00aad4;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
231
- d="m 69.515072,169.79517 -35.572711,9.70828"
232
- id="path8334-6" />
233
- <path
234
- style="fill:#0088aa;stroke:#0088aa;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
235
- d="m 68.961989,170.41246 1.175826,-1.48983"
236
- id="path1355-4-2" />
237
- <path
238
- style="fill:#0088aa;stroke:#0088aa;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
239
- d="m 68.804987,169.07963 1.489829,1.17583"
240
- id="path1355-5-5-6" />
241
- <text
242
- xml:space="preserve"
243
- transform="matrix(0.26458333,0,0,0.26458333,9.0748298,126.30884)"
244
- id="text1386-25-6"
245
- style="font-size:14.6667px;line-height:1.25;font-family:sans-serif;white-space:pre;shape-inside:url(#rect1388-06-89);display:inline;fill:#0044aa"><tspan
246
- x="232.47656"
247
- y="174.34183"
248
- id="tspan4193">p6</tspan></text>
249
- <text
250
- xml:space="preserve"
251
- transform="matrix(0.26458333,0,0,0.26458333,-30.010692,-5.3001495)"
252
- id="text8566"
253
- style="font-size:10.6667px;line-height:1.25;font-family:sans-serif;white-space:pre;shape-inside:url(#rect8568);display:inline;fill:#217821"><tspan
254
- x="231.68555"
255
- y="596.26565"
256
- id="tspan4195">rotate(pc, ia)</tspan></text>
257
- <text
258
- xml:space="preserve"
259
- transform="matrix(0.26458333,0,0,0.26458333,-10.838702,-4.5352848)"
260
- id="text8572"
261
- style="font-size:10.6667px;line-height:1.25;font-family:sans-serif;white-space:pre;shape-inside:url(#rect8574);display:inline;fill:#0044aa"><tspan
262
- x="295.25391"
263
- y="681.6387"
264
- id="tspan4197">scale(pc, ir)</tspan></text>
265
- <path
266
- style="fill:none;stroke:#87deaa;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
267
- d="m 57.78693,173.02688 -23.844569,6.47657"
268
- id="path8334" />
269
- <path
270
- style="fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
271
- d="m 33.370118,180.27888 1.175826,-1.48983"
272
- id="path1355-4-4" />
273
- <path
274
- style="fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
275
- d="m 33.213116,178.94605 1.489829,1.17583"
276
- id="path1355-5-5-3" />
277
- <path
278
- style="fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
279
- d="m 57.214686,173.80231 1.175826,-1.48983"
280
- id="path1355-4" />
281
- <path
282
- style="fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
283
- d="m 57.057684,172.46948 1.489829,1.17583"
284
- id="path1355-5-5" />
285
- <path
286
- style="fill:none;stroke:#008033;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
287
- d="m 36.800149,178.83785 c 0.04953,0 0.337007,-1.37769 -0.01717,-1.90463 -0.323965,-0.48198 -1.607244,-0.67241 -1.607244,-0.67241"
288
- id="path8578" />
289
- <text
290
- xml:space="preserve"
291
- transform="matrix(0.26458333,0,0,0.26458333,-58.006583,9.1946069)"
292
- id="text8580"
293
- style="font-size:8px;line-height:1.25;font-family:sans-serif;white-space:pre;shape-inside:url(#rect8582);display:inline;fill:#5aa02c"><tspan
294
- x="360.86719"
295
- y="632.26367"
296
- id="tspan4199">ia</tspan></text>
297
- </g>
298
- </svg>
package/svg/point_4.svg DELETED
@@ -1,272 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
- <!-- Created with Inkscape (http://www.inkscape.org/) -->
3
-
4
- <svg
5
- width="262.01425"
6
- height="195.65175"
7
- viewBox="0 0 69.324604 51.766191"
8
- version="1.1"
9
- id="svg5"
10
- xmlns="http://www.w3.org/2000/svg"
11
- xmlns:svg="http://www.w3.org/2000/svg">
12
- <defs
13
- id="defs2">
14
- <rect
15
- x="25.58448"
16
- y="907.315"
17
- width="177.47375"
18
- height="19.009386"
19
- id="rect9544" />
20
- <rect
21
- x="39.100128"
22
- y="914.2851"
23
- width="167.38448"
24
- height="25.29678"
25
- id="rect9538" />
26
- <marker
27
- style="overflow:visible"
28
- id="Arrow1L-4"
29
- refX="0"
30
- refY="0"
31
- orient="auto-start-reverse"
32
- markerWidth="8.75"
33
- markerHeight="5"
34
- viewBox="0 0 8.75 5"
35
- preserveAspectRatio="xMidYMid">
36
- <path
37
- style="fill:context-stroke;fill-rule:evenodd;stroke:none"
38
- d="M 0,0 5,-5 -12.5,0 5,5 Z"
39
- id="arrow1L-9"
40
- transform="scale(-0.5)" />
41
- </marker>
42
- <marker
43
- style="overflow:visible"
44
- id="Arrow1L-3-5"
45
- refX="0"
46
- refY="0"
47
- orient="auto-start-reverse"
48
- markerWidth="8.75"
49
- markerHeight="5"
50
- viewBox="0 0 8.75 5"
51
- preserveAspectRatio="xMidYMid">
52
- <path
53
- style="fill:context-stroke;fill-rule:evenodd;stroke:none"
54
- d="M 0,0 5,-5 -12.5,0 5,5 Z"
55
- id="arrow1L-6-0"
56
- transform="scale(-0.5)" />
57
- </marker>
58
- <rect
59
- x="254.32079"
60
- y="237.99036"
61
- width="38.556549"
62
- height="34.914055"
63
- id="rect1269-4" />
64
- <rect
65
- x="130.98518"
66
- y="140.53645"
67
- width="42.711418"
68
- height="43.171246"
69
- id="rect1287-8" />
70
- <rect
71
- x="232.47569"
72
- y="161.36501"
73
- width="28.095083"
74
- height="22.501993"
75
- id="rect1388-7" />
76
- <rect
77
- x="200.71475"
78
- y="288.1904"
79
- width="52.316872"
80
- height="19.744669"
81
- id="rect1406-17" />
82
- <rect
83
- x="200.71475"
84
- y="288.1904"
85
- width="52.316872"
86
- height="19.744669"
87
- id="rect1406-3-2" />
88
- <rect
89
- x="63.429256"
90
- y="333.06458"
91
- width="158.36295"
92
- height="29.330603"
93
- id="rect3974-2" />
94
- <rect
95
- x="232.47569"
96
- y="161.36501"
97
- width="28.095083"
98
- height="22.501993"
99
- id="rect1388-7-6" />
100
- <rect
101
- x="200.71475"
102
- y="288.1904"
103
- width="52.316872"
104
- height="19.744669"
105
- id="rect1406-17-4" />
106
- <rect
107
- x="200.71475"
108
- y="288.1904"
109
- width="52.316872"
110
- height="19.744669"
111
- id="rect1406-3-2-2" />
112
- </defs>
113
- <g
114
- id="layer1"
115
- transform="translate(-23.098791,-209.9113)">
116
- <rect
117
- style="fill:#ffffff;stroke:#ffffff;stroke-width:0.264583;stroke-dasharray:none;stroke-dashoffset:0"
118
- id="rect3918-61"
119
- width="69.06002"
120
- height="51.501595"
121
- x="23.231083"
122
- y="210.04359" />
123
- <path
124
- style="fill:none;stroke:#999999;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1L-4)"
125
- d="M 47.056853,254.50861 V 214.29229"
126
- id="path196-0" />
127
- <path
128
- style="fill:none;stroke:#999999;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1L-3-5)"
129
- d="m 25.725036,248.5977 h 57.81469"
130
- id="path196-7-61" />
131
- <text
132
- xml:space="preserve"
133
- transform="matrix(0.26458333,0,0,0.26458333,16.599634,185.38163)"
134
- id="text1267-5"
135
- style="font-size:14.6667px;line-height:1.25;font-family:sans-serif;white-space:pre;shape-inside:url(#rect1269-4);display:inline"><tspan
136
- x="254.32031"
137
- y="250.96683"
138
- id="tspan3976">x</tspan></text>
139
- <text
140
- xml:space="preserve"
141
- transform="matrix(0.26458333,0,0,0.26458333,9.7310217,174.06672)"
142
- id="text1285-9"
143
- style="font-size:14.6667px;line-height:1.25;font-family:sans-serif;white-space:pre;shape-inside:url(#rect1287-8);display:inline"><tspan
144
- x="130.98438"
145
- y="153.5137"
146
- id="tspan3978">y</tspan></text>
147
- <path
148
- style="fill:none;stroke:#cccccc;stroke-width:0.264583;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:2, 1;stroke-dashoffset:0;stroke-opacity:1"
149
- d="M 56.574362,248.59769 V 231.65544 H 47.056854"
150
- id="path1384-4" />
151
- <text
152
- xml:space="preserve"
153
- transform="matrix(0.26458333,0,0,0.26458333,-5.9792525,189.49819)"
154
- id="text1386-1"
155
- style="font-size:14.6667px;line-height:1.25;font-family:sans-serif;white-space:pre;shape-inside:url(#rect1388-7);display:inline"><tspan
156
- x="232.47656"
157
- y="174.34183"
158
- id="tspan3980">p1</tspan></text>
159
- <text
160
- xml:space="preserve"
161
- transform="matrix(0.26458333,0,0,0.26458333,0.98665707,173.30886)"
162
- id="text1404-7"
163
- style="font-size:8px;line-height:1.25;font-family:sans-serif;white-space:pre;shape-inside:url(#rect1406-17);display:inline"><tspan
164
- x="200.71484"
165
- y="295.26758"
166
- id="tspan3982">p1.cx</tspan></text>
167
- <text
168
- xml:space="preserve"
169
- transform="matrix(0.26458333,0,0,0.26458333,-13.346155,154.38386)"
170
- id="text1404-5-71"
171
- style="font-size:8px;line-height:1.25;font-family:sans-serif;white-space:pre;shape-inside:url(#rect1406-3-2);display:inline"><tspan
172
- x="200.71484"
173
- y="295.26758"
174
- id="tspan3984">p1.cy</tspan></text>
175
- <path
176
- style="fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
177
- d="m 46.298198,231.65544 h 1.517311"
178
- id="path1476-1" />
179
- <path
180
- style="fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
181
- d="m 56.574362,249.52229 v -1.8492"
182
- id="path1478-5" />
183
- <text
184
- xml:space="preserve"
185
- transform="matrix(0.26458333,0,0,0.26458333,7.2248621,168.17299)"
186
- id="text3972-73"
187
- style="font-size:14.6667px;line-height:1.25;font-family:sans-serif;white-space:pre;shape-inside:url(#rect3974-2);display:inline"><tspan
188
- x="63.429688"
189
- y="346.04105"
190
- id="tspan3986">Point-4</tspan></text>
191
- <text
192
- xml:space="preserve"
193
- transform="matrix(0.26458333,0,0,0.26458333,9.5543166,170.98915)"
194
- id="text1386-1-3"
195
- style="font-size:14.6667px;line-height:1.25;font-family:sans-serif;white-space:pre;shape-inside:url(#rect1388-7-6);display:inline"><tspan
196
- x="232.47656"
197
- y="174.34183"
198
- id="tspan3988">p2</tspan></text>
199
- <path
200
- style="fill:none;stroke:#cccccc;stroke-width:0.264583;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:2, 1;stroke-dashoffset:0;stroke-opacity:1"
201
- d="M 70.135777,248.16129 V 217.86508 H 47.056852"
202
- id="path1384-4-9" />
203
- <text
204
- xml:space="preserve"
205
- transform="matrix(0.26458333,0,0,0.26458333,14.548072,173.40163)"
206
- id="text1404-7-8"
207
- style="font-size:8px;line-height:1.25;font-family:sans-serif;white-space:pre;shape-inside:url(#rect1406-17-4);display:inline"><tspan
208
- x="200.71484"
209
- y="295.26758"
210
- id="tspan3990">p2.cx</tspan></text>
211
- <path
212
- style="fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
213
- d="m 70.135777,249.61506 v -1.8492"
214
- id="path1478-5-1" />
215
- <text
216
- xml:space="preserve"
217
- transform="matrix(0.26458333,0,0,0.26458333,-13.346156,140.5935)"
218
- id="text1404-5-71-9"
219
- style="font-size:8px;line-height:1.25;font-family:sans-serif;white-space:pre;shape-inside:url(#rect1406-3-2-2);display:inline"><tspan
220
- x="200.71484"
221
- y="295.26758"
222
- id="tspan3992">p2.cy</tspan></text>
223
- <path
224
- style="fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
225
- d="m 46.298196,217.86508 h 1.517311"
226
- id="path1476-1-3" />
227
- <path
228
- style="fill:none;stroke:#0000ff;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
229
- d="m 56.574364,231.65544 h 8.101973"
230
- id="path9534" />
231
- <path
232
- style="fill:none;stroke:#008000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
233
- d="M 70.135776,217.86508 56.574364,231.65544"
234
- id="path9530" />
235
- <path
236
- style="fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
237
- d="m 55.98645,232.40036 1.175826,-1.48983"
238
- id="path1355-9" />
239
- <path
240
- style="fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
241
- d="m 55.829448,231.06753 1.489829,1.17583"
242
- id="path1355-5-09" />
243
- <path
244
- style="fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
245
- d="m 69.648954,218.55377 1.175826,-1.48983"
246
- id="path1355-9-5" />
247
- <path
248
- style="fill:none;stroke:#000000;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
249
- d="m 69.491952,217.22094 1.489829,1.17583"
250
- id="path1355-5-09-6" />
251
- <text
252
- xml:space="preserve"
253
- transform="matrix(0.26458333,0,0,0.26458333,20.193158,-19.419108)"
254
- id="text9536"
255
- style="font-size:10.6667px;line-height:1.25;font-family:sans-serif;white-space:pre;shape-inside:url(#rect9538);display:inline;fill:#008000"><tspan
256
- x="39.099609"
257
- y="923.72269"
258
- id="tspan3994">p1.distanceToPoint(p2)</tspan></text>
259
- <text
260
- xml:space="preserve"
261
- transform="matrix(0.26458333,0,0,0.26458333,54.196752,-11.689596)"
262
- id="text9542"
263
- style="font-size:10.6667px;line-height:1.25;font-family:sans-serif;white-space:pre;shape-inside:url(#rect9544);display:inline;fill:#2a7fff"><tspan
264
- x="25.583984"
265
- y="916.75198"
266
- id="tspan3996">p1.angleToPoint(p2)</tspan></text>
267
- <path
268
- style="fill:none;stroke:#3771c8;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
269
- d="m 59.994233,231.74312 c 0,0 0.434825,-1.01905 0.335703,-1.53333 -0.106242,-0.55122 -0.935326,-1.34248 -0.935326,-1.34248"
270
- id="path9548" />
271
- </g>
272
- </svg>