@immugio/three-math-extensions 0.2.22 → 0.2.23
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.
- package/CHANGELOG.md +10 -97
- package/cjs/Line2D.js +20 -4
- package/docs/classes/BoundingBox.md +7 -7
- package/docs/classes/Line2D.md +92 -59
- package/docs/classes/Line3D.md +35 -35
- package/docs/classes/Polygon.md +15 -15
- package/docs/classes/Rectangle.md +17 -17
- package/docs/classes/Size2.md +4 -4
- package/docs/classes/Vec2.md +10 -10
- package/docs/classes/Vec3.md +13 -13
- package/docs/interfaces/Point2.md +2 -2
- package/docs/interfaces/Point3.md +3 -3
- package/docs/modules.md +8 -8
- package/esm/Line2D.js +20 -4
- package/package.json +1 -1
- package/src/Line2D.ts +24 -4
- package/types/Line2D.d.ts +7 -0
package/docs/classes/Line2D.md
CHANGED
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
- [extendToOrTrimAtIntersection](Line2D.md#extendtoortrimatintersection)
|
|
41
41
|
- [flip](Line2D.md#flip)
|
|
42
42
|
- [getOverlap](Line2D.md#getoverlap)
|
|
43
|
+
- [getParallelLineInTheSameDirection](Line2D.md#getparallellineinthesamedirection)
|
|
43
44
|
- [hasIntersectionWithAngle](Line2D.md#hasintersectionwithangle)
|
|
44
45
|
- [in3DSpace](Line2D.md#in3dspace)
|
|
45
46
|
- [intersect](Line2D.md#intersect)
|
|
@@ -93,7 +94,7 @@
|
|
|
93
94
|
|
|
94
95
|
#### Defined in
|
|
95
96
|
|
|
96
|
-
[src/Line2D.ts:
|
|
97
|
+
[src/Line2D.ts:15](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L15)
|
|
97
98
|
|
|
98
99
|
## Properties
|
|
99
100
|
|
|
@@ -103,7 +104,7 @@
|
|
|
103
104
|
|
|
104
105
|
#### Defined in
|
|
105
106
|
|
|
106
|
-
[src/Line2D.ts:
|
|
107
|
+
[src/Line2D.ts:15](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L15)
|
|
107
108
|
|
|
108
109
|
___
|
|
109
110
|
|
|
@@ -113,7 +114,7 @@ ___
|
|
|
113
114
|
|
|
114
115
|
#### Defined in
|
|
115
116
|
|
|
116
|
-
[src/Line2D.ts:
|
|
117
|
+
[src/Line2D.ts:15](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L15)
|
|
117
118
|
|
|
118
119
|
___
|
|
119
120
|
|
|
@@ -123,7 +124,7 @@ ___
|
|
|
123
124
|
|
|
124
125
|
#### Defined in
|
|
125
126
|
|
|
126
|
-
[src/Line2D.ts:
|
|
127
|
+
[src/Line2D.ts:15](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L15)
|
|
127
128
|
|
|
128
129
|
## Accessors
|
|
129
130
|
|
|
@@ -137,7 +138,7 @@ ___
|
|
|
137
138
|
|
|
138
139
|
#### Defined in
|
|
139
140
|
|
|
140
|
-
[src/Line2D.ts:
|
|
141
|
+
[src/Line2D.ts:52](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L52)
|
|
141
142
|
|
|
142
143
|
• `set` **center**(`value`): `void`
|
|
143
144
|
|
|
@@ -156,7 +157,7 @@ Modifies this line.
|
|
|
156
157
|
|
|
157
158
|
#### Defined in
|
|
158
159
|
|
|
159
|
-
[src/Line2D.ts:
|
|
160
|
+
[src/Line2D.ts:61](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L61)
|
|
160
161
|
|
|
161
162
|
___
|
|
162
163
|
|
|
@@ -172,7 +173,7 @@ Returns the direction of this line.
|
|
|
172
173
|
|
|
173
174
|
#### Defined in
|
|
174
175
|
|
|
175
|
-
[src/Line2D.ts:
|
|
176
|
+
[src/Line2D.ts:209](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L209)
|
|
176
177
|
|
|
177
178
|
___
|
|
178
179
|
|
|
@@ -189,7 +190,7 @@ Endpoints are not cloned.
|
|
|
189
190
|
|
|
190
191
|
#### Defined in
|
|
191
192
|
|
|
192
|
-
[src/Line2D.ts:
|
|
193
|
+
[src/Line2D.ts:161](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L161)
|
|
193
194
|
|
|
194
195
|
___
|
|
195
196
|
|
|
@@ -203,7 +204,7 @@ ___
|
|
|
203
204
|
|
|
204
205
|
#### Defined in
|
|
205
206
|
|
|
206
|
-
[src/Line2D.ts:
|
|
207
|
+
[src/Line2D.ts:766](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L766)
|
|
207
208
|
|
|
208
209
|
___
|
|
209
210
|
|
|
@@ -217,7 +218,7 @@ ___
|
|
|
217
218
|
|
|
218
219
|
#### Defined in
|
|
219
220
|
|
|
220
|
-
[src/Line2D.ts:
|
|
221
|
+
[src/Line2D.ts:771](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L771)
|
|
221
222
|
|
|
222
223
|
___
|
|
223
224
|
|
|
@@ -231,7 +232,7 @@ ___
|
|
|
231
232
|
|
|
232
233
|
#### Defined in
|
|
233
234
|
|
|
234
|
-
[src/Line2D.ts:
|
|
235
|
+
[src/Line2D.ts:144](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L144)
|
|
235
236
|
|
|
236
237
|
• `set` **length**(`l`): `void`
|
|
237
238
|
|
|
@@ -250,7 +251,7 @@ Modifies this line.
|
|
|
250
251
|
|
|
251
252
|
#### Defined in
|
|
252
253
|
|
|
253
|
-
[src/Line2D.ts:
|
|
254
|
+
[src/Line2D.ts:139](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L139)
|
|
254
255
|
|
|
255
256
|
## Methods
|
|
256
257
|
|
|
@@ -273,7 +274,7 @@ Clone the line, does not modify.
|
|
|
273
274
|
|
|
274
275
|
#### Defined in
|
|
275
276
|
|
|
276
|
-
[src/Line2D.ts:
|
|
277
|
+
[src/Line2D.ts:479](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L479)
|
|
277
278
|
|
|
278
279
|
___
|
|
279
280
|
|
|
@@ -289,7 +290,7 @@ Deep clone of this line
|
|
|
289
290
|
|
|
290
291
|
#### Defined in
|
|
291
292
|
|
|
292
|
-
[src/Line2D.ts:
|
|
293
|
+
[src/Line2D.ts:850](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L850)
|
|
293
294
|
|
|
294
295
|
___
|
|
295
296
|
|
|
@@ -313,7 +314,7 @@ Returns the closest point on the line to the given point.
|
|
|
313
314
|
|
|
314
315
|
#### Defined in
|
|
315
316
|
|
|
316
|
-
[src/Line2D.ts:
|
|
317
|
+
[src/Line2D.ts:498](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L498)
|
|
317
318
|
|
|
318
319
|
___
|
|
319
320
|
|
|
@@ -334,7 +335,7 @@ ___
|
|
|
334
335
|
|
|
335
336
|
#### Defined in
|
|
336
337
|
|
|
337
|
-
[src/Line2D.ts:
|
|
338
|
+
[src/Line2D.ts:507](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L507)
|
|
338
339
|
|
|
339
340
|
___
|
|
340
341
|
|
|
@@ -362,7 +363,7 @@ line's endpoints.
|
|
|
362
363
|
|
|
363
364
|
#### Defined in
|
|
364
365
|
|
|
365
|
-
[src/Line2D.ts:
|
|
366
|
+
[src/Line2D.ts:821](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L821)
|
|
366
367
|
|
|
367
368
|
___
|
|
368
369
|
|
|
@@ -385,7 +386,7 @@ Check that this line segment contains provided point.
|
|
|
385
386
|
|
|
386
387
|
#### Defined in
|
|
387
388
|
|
|
388
|
-
[src/Line2D.ts:
|
|
389
|
+
[src/Line2D.ts:170](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L170)
|
|
389
390
|
|
|
390
391
|
___
|
|
391
392
|
|
|
@@ -411,7 +412,7 @@ Both distance and angle tolerance can be provided.
|
|
|
411
412
|
|
|
412
413
|
#### Defined in
|
|
413
414
|
|
|
414
|
-
[src/Line2D.ts:
|
|
415
|
+
[src/Line2D.ts:454](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L454)
|
|
415
416
|
|
|
416
417
|
___
|
|
417
418
|
|
|
@@ -431,7 +432,7 @@ ___
|
|
|
431
432
|
|
|
432
433
|
#### Defined in
|
|
433
434
|
|
|
434
|
-
[src/Line2D.ts:
|
|
435
|
+
[src/Line2D.ts:503](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L503)
|
|
435
436
|
|
|
436
437
|
___
|
|
437
438
|
|
|
@@ -454,7 +455,7 @@ Distance from this line to the provided point.
|
|
|
454
455
|
|
|
455
456
|
#### Defined in
|
|
456
457
|
|
|
457
|
-
[src/Line2D.ts:
|
|
458
|
+
[src/Line2D.ts:180](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L180)
|
|
458
459
|
|
|
459
460
|
___
|
|
460
461
|
|
|
@@ -476,7 +477,7 @@ Returns the distance between the **infinite** line and the point.
|
|
|
476
477
|
|
|
477
478
|
#### Defined in
|
|
478
479
|
|
|
479
|
-
[src/Line2D.ts:
|
|
480
|
+
[src/Line2D.ts:527](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L527)
|
|
480
481
|
|
|
481
482
|
___
|
|
482
483
|
|
|
@@ -497,7 +498,7 @@ ___
|
|
|
497
498
|
|
|
498
499
|
#### Defined in
|
|
499
500
|
|
|
500
|
-
[src/Line2D.ts:
|
|
501
|
+
[src/Line2D.ts:839](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L839)
|
|
501
502
|
|
|
502
503
|
___
|
|
503
504
|
|
|
@@ -521,7 +522,7 @@ Does not create a copy. Provided line is modified.
|
|
|
521
522
|
|
|
522
523
|
#### Defined in
|
|
523
524
|
|
|
524
|
-
[src/Line2D.ts:
|
|
525
|
+
[src/Line2D.ts:664](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L664)
|
|
525
526
|
|
|
526
527
|
___
|
|
527
528
|
|
|
@@ -545,7 +546,7 @@ Modifies this line.
|
|
|
545
546
|
|
|
546
547
|
#### Defined in
|
|
547
548
|
|
|
548
|
-
[src/Line2D.ts:
|
|
549
|
+
[src/Line2D.ts:685](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L685)
|
|
549
550
|
|
|
550
551
|
___
|
|
551
552
|
|
|
@@ -562,7 +563,7 @@ Modifies this line.
|
|
|
562
563
|
|
|
563
564
|
#### Defined in
|
|
564
565
|
|
|
565
|
-
[src/Line2D.ts:
|
|
566
|
+
[src/Line2D.ts:217](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L217)
|
|
566
567
|
|
|
567
568
|
___
|
|
568
569
|
|
|
@@ -584,7 +585,39 @@ Logical AND of this and the other line section.
|
|
|
584
585
|
|
|
585
586
|
#### Defined in
|
|
586
587
|
|
|
587
|
-
[src/Line2D.ts:
|
|
588
|
+
[src/Line2D.ts:367](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L367)
|
|
589
|
+
|
|
590
|
+
___
|
|
591
|
+
|
|
592
|
+
### getParallelLineInTheSameDirection
|
|
593
|
+
|
|
594
|
+
▸ **getParallelLineInTheSameDirection**(`other`, `parallelTolerance?`): [`Line2D`](Line2D.md)
|
|
595
|
+
|
|
596
|
+
Returns a copy of
|
|
597
|
+
|
|
598
|
+
#### Parameters
|
|
599
|
+
|
|
600
|
+
| Name | Type | Default value |
|
|
601
|
+
| :------ | :------ | :------ |
|
|
602
|
+
| `other` | [`Line2D`](Line2D.md) | `undefined` |
|
|
603
|
+
| `parallelTolerance` | `number` | `0` |
|
|
604
|
+
|
|
605
|
+
#### Returns
|
|
606
|
+
|
|
607
|
+
[`Line2D`](Line2D.md)
|
|
608
|
+
|
|
609
|
+
**`Other`**
|
|
610
|
+
|
|
611
|
+
line, the direction of
|
|
612
|
+
|
|
613
|
+
**`Other`**
|
|
614
|
+
|
|
615
|
+
is reversed if needed.
|
|
616
|
+
Returns null if lines are not parallel.
|
|
617
|
+
|
|
618
|
+
#### Defined in
|
|
619
|
+
|
|
620
|
+
[src/Line2D.ts:191](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L191)
|
|
588
621
|
|
|
589
622
|
___
|
|
590
623
|
|
|
@@ -609,7 +642,7 @@ Check that the line section intersect and that they are in the specified angle t
|
|
|
609
642
|
|
|
610
643
|
#### Defined in
|
|
611
644
|
|
|
612
|
-
[src/Line2D.ts:
|
|
645
|
+
[src/Line2D.ts:747](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L747)
|
|
613
646
|
|
|
614
647
|
___
|
|
615
648
|
|
|
@@ -633,7 +666,7 @@ A new Line3D instance.
|
|
|
633
666
|
|
|
634
667
|
#### Defined in
|
|
635
668
|
|
|
636
|
-
[src/Line2D.ts:
|
|
669
|
+
[src/Line2D.ts:835](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L835)
|
|
637
670
|
|
|
638
671
|
___
|
|
639
672
|
|
|
@@ -656,7 +689,7 @@ Returns the intersection point of two lines.
|
|
|
656
689
|
|
|
657
690
|
#### Defined in
|
|
658
691
|
|
|
659
|
-
[src/Line2D.ts:
|
|
692
|
+
[src/Line2D.ts:710](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L710)
|
|
660
693
|
|
|
661
694
|
___
|
|
662
695
|
|
|
@@ -678,7 +711,7 @@ Returns true if other line is collinear and overlaps or at least touching this l
|
|
|
678
711
|
|
|
679
712
|
#### Defined in
|
|
680
713
|
|
|
681
|
-
[src/Line2D.ts:
|
|
714
|
+
[src/Line2D.ts:317](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L317)
|
|
682
715
|
|
|
683
716
|
___
|
|
684
717
|
|
|
@@ -699,7 +732,7 @@ ___
|
|
|
699
732
|
|
|
700
733
|
#### Defined in
|
|
701
734
|
|
|
702
|
-
[src/Line2D.ts:
|
|
735
|
+
[src/Line2D.ts:91](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L91)
|
|
703
736
|
|
|
704
737
|
___
|
|
705
738
|
|
|
@@ -721,7 +754,7 @@ Returns true when the point is beside the line **segment**
|
|
|
721
754
|
|
|
722
755
|
#### Defined in
|
|
723
756
|
|
|
724
|
-
[src/Line2D.ts:
|
|
757
|
+
[src/Line2D.ts:297](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L297)
|
|
725
758
|
|
|
726
759
|
___
|
|
727
760
|
|
|
@@ -744,7 +777,7 @@ Returns true when the point is beside the line **segment** and within the maxDis
|
|
|
744
777
|
|
|
745
778
|
#### Defined in
|
|
746
779
|
|
|
747
|
-
[src/Line2D.ts:
|
|
780
|
+
[src/Line2D.ts:288](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L288)
|
|
748
781
|
|
|
749
782
|
___
|
|
750
783
|
|
|
@@ -766,7 +799,7 @@ Returns true when the point is on the **infinite** line.
|
|
|
766
799
|
|
|
767
800
|
#### Defined in
|
|
768
801
|
|
|
769
|
-
[src/Line2D.ts:
|
|
802
|
+
[src/Line2D.ts:309](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L309)
|
|
770
803
|
|
|
771
804
|
___
|
|
772
805
|
|
|
@@ -790,7 +823,7 @@ https://stackoverflow.com/questions/6865832/detecting-if-a-point-is-of-a-line-se
|
|
|
790
823
|
|
|
791
824
|
#### Defined in
|
|
792
825
|
|
|
793
|
-
[src/Line2D.ts:
|
|
826
|
+
[src/Line2D.ts:275](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L275)
|
|
794
827
|
|
|
795
828
|
___
|
|
796
829
|
|
|
@@ -813,7 +846,7 @@ Modifies this line.
|
|
|
813
846
|
|
|
814
847
|
#### Defined in
|
|
815
848
|
|
|
816
|
-
[src/Line2D.ts:
|
|
849
|
+
[src/Line2D.ts:119](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L119)
|
|
817
850
|
|
|
818
851
|
___
|
|
819
852
|
|
|
@@ -833,7 +866,7 @@ ___
|
|
|
833
866
|
|
|
834
867
|
#### Defined in
|
|
835
868
|
|
|
836
|
-
[src/Line2D.ts:
|
|
869
|
+
[src/Line2D.ts:108](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L108)
|
|
837
870
|
|
|
838
871
|
___
|
|
839
872
|
|
|
@@ -861,7 +894,7 @@ line section.
|
|
|
861
894
|
|
|
862
895
|
#### Defined in
|
|
863
896
|
|
|
864
|
-
[src/Line2D.ts:
|
|
897
|
+
[src/Line2D.ts:329](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L329)
|
|
865
898
|
|
|
866
899
|
___
|
|
867
900
|
|
|
@@ -884,7 +917,7 @@ Returns a new line that is the projection of this line onto @other. Uses `closes
|
|
|
884
917
|
|
|
885
918
|
#### Defined in
|
|
886
919
|
|
|
887
|
-
[src/Line2D.ts:
|
|
920
|
+
[src/Line2D.ts:467](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L467)
|
|
888
921
|
|
|
889
922
|
___
|
|
890
923
|
|
|
@@ -904,7 +937,7 @@ ___
|
|
|
904
937
|
|
|
905
938
|
#### Defined in
|
|
906
939
|
|
|
907
|
-
[src/Line2D.ts:
|
|
940
|
+
[src/Line2D.ts:85](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L85)
|
|
908
941
|
|
|
909
942
|
___
|
|
910
943
|
|
|
@@ -928,7 +961,7 @@ Modifies this line.
|
|
|
928
961
|
|
|
929
962
|
#### Defined in
|
|
930
963
|
|
|
931
|
-
[src/Line2D.ts:
|
|
964
|
+
[src/Line2D.ts:231](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L231)
|
|
932
965
|
|
|
933
966
|
___
|
|
934
967
|
|
|
@@ -951,7 +984,7 @@ Modifies this line.
|
|
|
951
984
|
|
|
952
985
|
#### Defined in
|
|
953
986
|
|
|
954
|
-
[src/Line2D.ts:
|
|
987
|
+
[src/Line2D.ts:76](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L76)
|
|
955
988
|
|
|
956
989
|
___
|
|
957
990
|
|
|
@@ -973,7 +1006,7 @@ Set the length of this line. Center and direction remain unchanged.
|
|
|
973
1006
|
|
|
974
1007
|
#### Defined in
|
|
975
1008
|
|
|
976
|
-
[src/Line2D.ts:
|
|
1009
|
+
[src/Line2D.ts:152](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L152)
|
|
977
1010
|
|
|
978
1011
|
___
|
|
979
1012
|
|
|
@@ -996,7 +1029,7 @@ Returns the original line section split into two parts, if the line **sections**
|
|
|
996
1029
|
|
|
997
1030
|
#### Defined in
|
|
998
1031
|
|
|
999
|
-
[src/Line2D.ts:
|
|
1032
|
+
[src/Line2D.ts:580](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L580)
|
|
1000
1033
|
|
|
1001
1034
|
___
|
|
1002
1035
|
|
|
@@ -1020,7 +1053,7 @@ Otherwise, null if the lines are parallel and do not intersect
|
|
|
1020
1053
|
|
|
1021
1054
|
#### Defined in
|
|
1022
1055
|
|
|
1023
|
-
[src/Line2D.ts:
|
|
1056
|
+
[src/Line2D.ts:599](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L599)
|
|
1024
1057
|
|
|
1025
1058
|
___
|
|
1026
1059
|
|
|
@@ -1034,7 +1067,7 @@ ___
|
|
|
1034
1067
|
|
|
1035
1068
|
#### Defined in
|
|
1036
1069
|
|
|
1037
|
-
[src/Line2D.ts:
|
|
1070
|
+
[src/Line2D.ts:854](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L854)
|
|
1038
1071
|
|
|
1039
1072
|
___
|
|
1040
1073
|
|
|
@@ -1057,7 +1090,7 @@ Modifies this line.
|
|
|
1057
1090
|
|
|
1058
1091
|
#### Defined in
|
|
1059
1092
|
|
|
1060
|
-
[src/Line2D.ts:
|
|
1093
|
+
[src/Line2D.ts:242](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L242)
|
|
1061
1094
|
|
|
1062
1095
|
___
|
|
1063
1096
|
|
|
@@ -1080,7 +1113,7 @@ Modifies this line.
|
|
|
1080
1113
|
|
|
1081
1114
|
#### Defined in
|
|
1082
1115
|
|
|
1083
|
-
[src/Line2D.ts:
|
|
1116
|
+
[src/Line2D.ts:255](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L255)
|
|
1084
1117
|
|
|
1085
1118
|
___
|
|
1086
1119
|
|
|
@@ -1103,7 +1136,7 @@ Modifies this line.
|
|
|
1103
1136
|
|
|
1104
1137
|
#### Defined in
|
|
1105
1138
|
|
|
1106
|
-
[src/Line2D.ts:
|
|
1139
|
+
[src/Line2D.ts:264](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L264)
|
|
1107
1140
|
|
|
1108
1141
|
___
|
|
1109
1142
|
|
|
@@ -1126,7 +1159,7 @@ Does not create a copy. Provided line is modified.
|
|
|
1126
1159
|
|
|
1127
1160
|
#### Defined in
|
|
1128
1161
|
|
|
1129
|
-
[src/Line2D.ts:
|
|
1162
|
+
[src/Line2D.ts:642](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L642)
|
|
1130
1163
|
|
|
1131
1164
|
___
|
|
1132
1165
|
|
|
@@ -1155,7 +1188,7 @@ Clones the line, does not modify this.
|
|
|
1155
1188
|
|
|
1156
1189
|
#### Defined in
|
|
1157
1190
|
|
|
1158
|
-
[src/Line2D.ts:
|
|
1191
|
+
[src/Line2D.ts:541](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L541)
|
|
1159
1192
|
|
|
1160
1193
|
___
|
|
1161
1194
|
|
|
@@ -1179,7 +1212,7 @@ ___
|
|
|
1179
1212
|
|
|
1180
1213
|
#### Defined in
|
|
1181
1214
|
|
|
1182
|
-
[src/Line2D.ts:
|
|
1215
|
+
[src/Line2D.ts:18](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L18)
|
|
1183
1216
|
|
|
1184
1217
|
___
|
|
1185
1218
|
|
|
@@ -1199,7 +1232,7 @@ ___
|
|
|
1199
1232
|
|
|
1200
1233
|
#### Defined in
|
|
1201
1234
|
|
|
1202
|
-
[src/Line2D.ts:
|
|
1235
|
+
[src/Line2D.ts:48](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L48)
|
|
1203
1236
|
|
|
1204
1237
|
___
|
|
1205
1238
|
|
|
@@ -1221,7 +1254,7 @@ ___
|
|
|
1221
1254
|
|
|
1222
1255
|
#### Defined in
|
|
1223
1256
|
|
|
1224
|
-
[src/Line2D.ts:
|
|
1257
|
+
[src/Line2D.ts:22](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L22)
|
|
1225
1258
|
|
|
1226
1259
|
___
|
|
1227
1260
|
|
|
@@ -1246,7 +1279,7 @@ The polygon will only be closed if either
|
|
|
1246
1279
|
|
|
1247
1280
|
#### Defined in
|
|
1248
1281
|
|
|
1249
|
-
[src/Line2D.ts:
|
|
1282
|
+
[src/Line2D.ts:31](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L31)
|
|
1250
1283
|
|
|
1251
1284
|
___
|
|
1252
1285
|
|
|
@@ -1270,7 +1303,7 @@ Accepts an array of Line2D and groups them into arrays of connected lines
|
|
|
1270
1303
|
|
|
1271
1304
|
#### Defined in
|
|
1272
1305
|
|
|
1273
|
-
[src/Line2D.ts:
|
|
1306
|
+
[src/Line2D.ts:781](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L781)
|
|
1274
1307
|
|
|
1275
1308
|
___
|
|
1276
1309
|
|
|
@@ -1304,7 +1337,7 @@ Clones the line, does not modify.
|
|
|
1304
1337
|
|
|
1305
1338
|
#### Defined in
|
|
1306
1339
|
|
|
1307
|
-
[src/Line2D.ts:
|
|
1340
|
+
[src/Line2D.ts:401](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L401)
|
|
1308
1341
|
|
|
1309
1342
|
___
|
|
1310
1343
|
|
|
@@ -1328,4 +1361,4 @@ Clone the lines, does not modify.
|
|
|
1328
1361
|
|
|
1329
1362
|
#### Defined in
|
|
1330
1363
|
|
|
1331
|
-
[src/Line2D.ts:
|
|
1364
|
+
[src/Line2D.ts:418](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line2D.ts#L418)
|