@immugio/three-math-extensions 0.2.9 → 0.2.11
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 +34 -3
- package/README.md +1 -80
- package/cjs/Line2D.js +18 -0
- package/cjs/Vec2.js +11 -0
- package/cjs/directions.js +12 -0
- package/cjs/directions2d.js +10 -0
- package/cjs/index.js +7 -1
- package/cjs/isPointInPolygon.js +16 -0
- package/docs/README.md +86 -1
- package/docs/classes/BoundingBox.md +7 -7
- package/docs/classes/Line2D.md +88 -60
- package/docs/classes/Line3D.md +32 -32
- package/docs/classes/Polygon.md +15 -15
- package/docs/classes/Rectangle.md +17 -17
- package/docs/classes/Size2.md +3 -3
- package/docs/classes/Vec2.md +54 -6
- package/docs/classes/Vec3.md +11 -11
- package/docs/interfaces/Point2.md +2 -2
- package/docs/interfaces/Point3.md +3 -3
- package/docs/modules.md +25 -3
- package/esm/Line2D.js +18 -0
- package/esm/Vec2.js +11 -0
- package/esm/directions.js +9 -0
- package/esm/directions2d.js +7 -0
- package/esm/index.js +3 -0
- package/esm/isPointInPolygon.js +12 -0
- package/package.json +1 -1
- package/src/Line2D.ts +22 -0
- package/src/Vec2.ts +17 -4
- package/src/directions.ts +10 -0
- package/src/directions2d.ts +8 -0
- package/src/index.ts +4 -1
- package/src/isPointInPolygon.ts +19 -0
- package/types/Line2D.d.ts +8 -0
- package/types/Vec2.d.ts +6 -0
- package/types/directions.d.ts +9 -0
- package/types/directions2d.d.ts +7 -0
- package/types/index.d.ts +3 -0
- package/types/isPointInPolygon.d.ts +2 -0
package/docs/classes/Line2D.md
CHANGED
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
- [flip](Line2D.md#flip)
|
|
36
36
|
- [getOverlap](Line2D.md#getoverlap)
|
|
37
37
|
- [hasIntersectionWithAngle](Line2D.md#hasintersectionwithangle)
|
|
38
|
+
- [in3DSpace](Line2D.md#in3dspace)
|
|
38
39
|
- [intersect](Line2D.md#intersect)
|
|
39
40
|
- [isCollinearWithTouchOrOverlap](Line2D.md#iscollinearwithtouchoroverlap)
|
|
40
41
|
- [isPointBesideLineSection](Line2D.md#ispointbesidelinesection)
|
|
@@ -79,7 +80,7 @@
|
|
|
79
80
|
|
|
80
81
|
#### Defined in
|
|
81
82
|
|
|
82
|
-
[src/Line2D.ts:
|
|
83
|
+
[src/Line2D.ts:13](https://github.com/Immugio/three-math-extensions/blob/66cba15/src/Line2D.ts#L13)
|
|
83
84
|
|
|
84
85
|
## Properties
|
|
85
86
|
|
|
@@ -89,7 +90,7 @@
|
|
|
89
90
|
|
|
90
91
|
#### Defined in
|
|
91
92
|
|
|
92
|
-
[src/Line2D.ts:
|
|
93
|
+
[src/Line2D.ts:13](https://github.com/Immugio/three-math-extensions/blob/66cba15/src/Line2D.ts#L13)
|
|
93
94
|
|
|
94
95
|
___
|
|
95
96
|
|
|
@@ -99,7 +100,7 @@ ___
|
|
|
99
100
|
|
|
100
101
|
#### Defined in
|
|
101
102
|
|
|
102
|
-
[src/Line2D.ts:
|
|
103
|
+
[src/Line2D.ts:13](https://github.com/Immugio/three-math-extensions/blob/66cba15/src/Line2D.ts#L13)
|
|
103
104
|
|
|
104
105
|
___
|
|
105
106
|
|
|
@@ -109,7 +110,7 @@ ___
|
|
|
109
110
|
|
|
110
111
|
#### Defined in
|
|
111
112
|
|
|
112
|
-
[src/Line2D.ts:
|
|
113
|
+
[src/Line2D.ts:13](https://github.com/Immugio/three-math-extensions/blob/66cba15/src/Line2D.ts#L13)
|
|
113
114
|
|
|
114
115
|
## Accessors
|
|
115
116
|
|
|
@@ -123,7 +124,7 @@ ___
|
|
|
123
124
|
|
|
124
125
|
#### Defined in
|
|
125
126
|
|
|
126
|
-
[src/Line2D.ts:
|
|
127
|
+
[src/Line2D.ts:50](https://github.com/Immugio/three-math-extensions/blob/66cba15/src/Line2D.ts#L50)
|
|
127
128
|
|
|
128
129
|
• `set` **center**(`value`): `void`
|
|
129
130
|
|
|
@@ -142,7 +143,7 @@ Modifies this line.
|
|
|
142
143
|
|
|
143
144
|
#### Defined in
|
|
144
145
|
|
|
145
|
-
[src/Line2D.ts:
|
|
146
|
+
[src/Line2D.ts:59](https://github.com/Immugio/three-math-extensions/blob/66cba15/src/Line2D.ts#L59)
|
|
146
147
|
|
|
147
148
|
___
|
|
148
149
|
|
|
@@ -158,7 +159,7 @@ Returns the direction of this line.
|
|
|
158
159
|
|
|
159
160
|
#### Defined in
|
|
160
161
|
|
|
161
|
-
[src/Line2D.ts:
|
|
162
|
+
[src/Line2D.ts:153](https://github.com/Immugio/three-math-extensions/blob/66cba15/src/Line2D.ts#L153)
|
|
162
163
|
|
|
163
164
|
___
|
|
164
165
|
|
|
@@ -175,7 +176,7 @@ Endpoints are not cloned.
|
|
|
175
176
|
|
|
176
177
|
#### Defined in
|
|
177
178
|
|
|
178
|
-
[src/Line2D.ts:
|
|
179
|
+
[src/Line2D.ts:146](https://github.com/Immugio/three-math-extensions/blob/66cba15/src/Line2D.ts#L146)
|
|
179
180
|
|
|
180
181
|
___
|
|
181
182
|
|
|
@@ -189,7 +190,7 @@ ___
|
|
|
189
190
|
|
|
190
191
|
#### Defined in
|
|
191
192
|
|
|
192
|
-
[src/Line2D.ts:
|
|
193
|
+
[src/Line2D.ts:129](https://github.com/Immugio/three-math-extensions/blob/66cba15/src/Line2D.ts#L129)
|
|
193
194
|
|
|
194
195
|
• `set` **length**(`l`): `void`
|
|
195
196
|
|
|
@@ -208,7 +209,7 @@ Modifies this line.
|
|
|
208
209
|
|
|
209
210
|
#### Defined in
|
|
210
211
|
|
|
211
|
-
[src/Line2D.ts:
|
|
212
|
+
[src/Line2D.ts:124](https://github.com/Immugio/three-math-extensions/blob/66cba15/src/Line2D.ts#L124)
|
|
212
213
|
|
|
213
214
|
## Methods
|
|
214
215
|
|
|
@@ -231,7 +232,7 @@ Clone the line, does not modify.
|
|
|
231
232
|
|
|
232
233
|
#### Defined in
|
|
233
234
|
|
|
234
|
-
[src/Line2D.ts:
|
|
235
|
+
[src/Line2D.ts:376](https://github.com/Immugio/three-math-extensions/blob/66cba15/src/Line2D.ts#L376)
|
|
235
236
|
|
|
236
237
|
___
|
|
237
238
|
|
|
@@ -247,7 +248,7 @@ Deep clone of this line
|
|
|
247
248
|
|
|
248
249
|
#### Defined in
|
|
249
250
|
|
|
250
|
-
[src/Line2D.ts:
|
|
251
|
+
[src/Line2D.ts:679](https://github.com/Immugio/three-math-extensions/blob/66cba15/src/Line2D.ts#L679)
|
|
251
252
|
|
|
252
253
|
___
|
|
253
254
|
|
|
@@ -271,7 +272,7 @@ Returns the closest point on the line to the given point.
|
|
|
271
272
|
|
|
272
273
|
#### Defined in
|
|
273
274
|
|
|
274
|
-
[src/Line2D.ts:
|
|
275
|
+
[src/Line2D.ts:395](https://github.com/Immugio/three-math-extensions/blob/66cba15/src/Line2D.ts#L395)
|
|
275
276
|
|
|
276
277
|
___
|
|
277
278
|
|
|
@@ -292,7 +293,7 @@ ___
|
|
|
292
293
|
|
|
293
294
|
#### Defined in
|
|
294
295
|
|
|
295
|
-
[src/Line2D.ts:
|
|
296
|
+
[src/Line2D.ts:404](https://github.com/Immugio/three-math-extensions/blob/66cba15/src/Line2D.ts#L404)
|
|
296
297
|
|
|
297
298
|
___
|
|
298
299
|
|
|
@@ -312,7 +313,7 @@ ___
|
|
|
312
313
|
|
|
313
314
|
#### Defined in
|
|
314
315
|
|
|
315
|
-
[src/Line2D.ts:
|
|
316
|
+
[src/Line2D.ts:400](https://github.com/Immugio/three-math-extensions/blob/66cba15/src/Line2D.ts#L400)
|
|
316
317
|
|
|
317
318
|
___
|
|
318
319
|
|
|
@@ -334,7 +335,7 @@ Returns the distance between the **infinite** line and the point.
|
|
|
334
335
|
|
|
335
336
|
#### Defined in
|
|
336
337
|
|
|
337
|
-
[src/Line2D.ts:
|
|
338
|
+
[src/Line2D.ts:424](https://github.com/Immugio/three-math-extensions/blob/66cba15/src/Line2D.ts#L424)
|
|
338
339
|
|
|
339
340
|
___
|
|
340
341
|
|
|
@@ -354,7 +355,7 @@ ___
|
|
|
354
355
|
|
|
355
356
|
#### Defined in
|
|
356
357
|
|
|
357
|
-
[src/Line2D.ts:
|
|
358
|
+
[src/Line2D.ts:672](https://github.com/Immugio/three-math-extensions/blob/66cba15/src/Line2D.ts#L672)
|
|
358
359
|
|
|
359
360
|
___
|
|
360
361
|
|
|
@@ -378,7 +379,7 @@ Does not create a copy. Provided line is modified.
|
|
|
378
379
|
|
|
379
380
|
#### Defined in
|
|
380
381
|
|
|
381
|
-
[src/Line2D.ts:
|
|
382
|
+
[src/Line2D.ts:561](https://github.com/Immugio/three-math-extensions/blob/66cba15/src/Line2D.ts#L561)
|
|
382
383
|
|
|
383
384
|
___
|
|
384
385
|
|
|
@@ -402,7 +403,7 @@ Modifies this line.
|
|
|
402
403
|
|
|
403
404
|
#### Defined in
|
|
404
405
|
|
|
405
|
-
[src/Line2D.ts:
|
|
406
|
+
[src/Line2D.ts:582](https://github.com/Immugio/three-math-extensions/blob/66cba15/src/Line2D.ts#L582)
|
|
406
407
|
|
|
407
408
|
___
|
|
408
409
|
|
|
@@ -419,7 +420,7 @@ Modifies this line.
|
|
|
419
420
|
|
|
420
421
|
#### Defined in
|
|
421
422
|
|
|
422
|
-
[src/Line2D.ts:
|
|
423
|
+
[src/Line2D.ts:161](https://github.com/Immugio/three-math-extensions/blob/66cba15/src/Line2D.ts#L161)
|
|
423
424
|
|
|
424
425
|
___
|
|
425
426
|
|
|
@@ -441,22 +442,24 @@ Logical AND of this and the other line section.
|
|
|
441
442
|
|
|
442
443
|
#### Defined in
|
|
443
444
|
|
|
444
|
-
[src/Line2D.ts:
|
|
445
|
+
[src/Line2D.ts:289](https://github.com/Immugio/three-math-extensions/blob/66cba15/src/Line2D.ts#L289)
|
|
445
446
|
|
|
446
447
|
___
|
|
447
448
|
|
|
448
449
|
### hasIntersectionWithAngle
|
|
449
450
|
|
|
450
|
-
▸ **hasIntersectionWithAngle**(`other`, `expectedAngleInRads`): [`Vec2`](Vec2.md)
|
|
451
|
+
▸ **hasIntersectionWithAngle**(`other`, `expectedAngleInRads`, `angleTolerance?`, `distanceTolerance?`): [`Vec2`](Vec2.md)
|
|
451
452
|
|
|
452
|
-
Check that the
|
|
453
|
+
Check that the line section intersect and that they are in the specified angle to each other
|
|
453
454
|
|
|
454
455
|
#### Parameters
|
|
455
456
|
|
|
456
|
-
| Name | Type | Description |
|
|
457
|
-
| :------ | :------ | :------ |
|
|
458
|
-
| `other` | [`Line2D`](Line2D.md) | Line |
|
|
459
|
-
| `expectedAngleInRads` | `number` | number |
|
|
457
|
+
| Name | Type | Default value | Description |
|
|
458
|
+
| :------ | :------ | :------ | :------ |
|
|
459
|
+
| `other` | [`Line2D`](Line2D.md) | `undefined` | Line |
|
|
460
|
+
| `expectedAngleInRads` | `number` | `undefined` | number |
|
|
461
|
+
| `angleTolerance` | `number` | `Number.EPSILON` | number |
|
|
462
|
+
| `distanceTolerance` | `number` | `Number.EPSILON` | number |
|
|
460
463
|
|
|
461
464
|
#### Returns
|
|
462
465
|
|
|
@@ -464,21 +467,46 @@ Check that the infinite lines intersect and that they are in the specified angle
|
|
|
464
467
|
|
|
465
468
|
#### Defined in
|
|
466
469
|
|
|
467
|
-
[src/Line2D.ts:
|
|
470
|
+
[src/Line2D.ts:644](https://github.com/Immugio/three-math-extensions/blob/66cba15/src/Line2D.ts#L644)
|
|
471
|
+
|
|
472
|
+
___
|
|
473
|
+
|
|
474
|
+
### in3DSpace
|
|
475
|
+
|
|
476
|
+
▸ **in3DSpace**(`y?`): [`Line3D`](Line3D.md)
|
|
477
|
+
|
|
478
|
+
Project the line to 2D space. For start and end points Vec2.y becomes Vec3.z. and Vec3.y is provided as an argument.
|
|
479
|
+
|
|
480
|
+
#### Parameters
|
|
481
|
+
|
|
482
|
+
| Name | Type | Default value | Description |
|
|
483
|
+
| :------ | :------ | :------ | :------ |
|
|
484
|
+
| `y` | `number` | `0` | The y value of the new Vec3 instance. |
|
|
485
|
+
|
|
486
|
+
#### Returns
|
|
487
|
+
|
|
488
|
+
[`Line3D`](Line3D.md)
|
|
489
|
+
|
|
490
|
+
A new Line3D instance.
|
|
491
|
+
|
|
492
|
+
#### Defined in
|
|
493
|
+
|
|
494
|
+
[src/Line2D.ts:668](https://github.com/Immugio/three-math-extensions/blob/66cba15/src/Line2D.ts#L668)
|
|
468
495
|
|
|
469
496
|
___
|
|
470
497
|
|
|
471
498
|
### intersect
|
|
472
499
|
|
|
473
|
-
▸ **intersect**(`other`): [`Vec2`](Vec2.md)
|
|
500
|
+
▸ **intersect**(`other`, `lineSegmentOnly?`): [`Vec2`](Vec2.md)
|
|
474
501
|
|
|
475
|
-
Returns the intersection point of two lines.
|
|
502
|
+
Returns the intersection point of two lines.
|
|
476
503
|
|
|
477
504
|
#### Parameters
|
|
478
505
|
|
|
479
|
-
| Name | Type |
|
|
480
|
-
| :------ | :------ |
|
|
481
|
-
| `other` | [`Line2D`](Line2D.md) |
|
|
506
|
+
| Name | Type | Description |
|
|
507
|
+
| :------ | :------ | :------ |
|
|
508
|
+
| `other` | [`Line2D`](Line2D.md) | |
|
|
509
|
+
| `lineSegmentOnly?` | `boolean` | If true, only return the intersection if it is within the line segments. Otherwise, return the intersection if the lines intersect anywhere. |
|
|
482
510
|
|
|
483
511
|
#### Returns
|
|
484
512
|
|
|
@@ -486,7 +514,7 @@ Returns the intersection point of two lines. The lines are assumed to be infinit
|
|
|
486
514
|
|
|
487
515
|
#### Defined in
|
|
488
516
|
|
|
489
|
-
[src/Line2D.ts:
|
|
517
|
+
[src/Line2D.ts:607](https://github.com/Immugio/three-math-extensions/blob/66cba15/src/Line2D.ts#L607)
|
|
490
518
|
|
|
491
519
|
___
|
|
492
520
|
|
|
@@ -508,7 +536,7 @@ Returns true if other line is collinear and overlaps or at least touching this l
|
|
|
508
536
|
|
|
509
537
|
#### Defined in
|
|
510
538
|
|
|
511
|
-
[src/Line2D.ts:
|
|
539
|
+
[src/Line2D.ts:261](https://github.com/Immugio/three-math-extensions/blob/66cba15/src/Line2D.ts#L261)
|
|
512
540
|
|
|
513
541
|
___
|
|
514
542
|
|
|
@@ -530,7 +558,7 @@ Returns true when the point is beside the line **segment**
|
|
|
530
558
|
|
|
531
559
|
#### Defined in
|
|
532
560
|
|
|
533
|
-
[src/Line2D.ts:
|
|
561
|
+
[src/Line2D.ts:241](https://github.com/Immugio/three-math-extensions/blob/66cba15/src/Line2D.ts#L241)
|
|
534
562
|
|
|
535
563
|
___
|
|
536
564
|
|
|
@@ -553,7 +581,7 @@ Returns true when the point is beside the line **segment** and within the maxDis
|
|
|
553
581
|
|
|
554
582
|
#### Defined in
|
|
555
583
|
|
|
556
|
-
[src/Line2D.ts:
|
|
584
|
+
[src/Line2D.ts:232](https://github.com/Immugio/three-math-extensions/blob/66cba15/src/Line2D.ts#L232)
|
|
557
585
|
|
|
558
586
|
___
|
|
559
587
|
|
|
@@ -575,7 +603,7 @@ Returns true when the point is on the **infinite** line.
|
|
|
575
603
|
|
|
576
604
|
#### Defined in
|
|
577
605
|
|
|
578
|
-
[src/Line2D.ts:
|
|
606
|
+
[src/Line2D.ts:253](https://github.com/Immugio/three-math-extensions/blob/66cba15/src/Line2D.ts#L253)
|
|
579
607
|
|
|
580
608
|
___
|
|
581
609
|
|
|
@@ -599,7 +627,7 @@ https://stackoverflow.com/questions/6865832/detecting-if-a-point-is-of-a-line-se
|
|
|
599
627
|
|
|
600
628
|
#### Defined in
|
|
601
629
|
|
|
602
|
-
[src/Line2D.ts:
|
|
630
|
+
[src/Line2D.ts:219](https://github.com/Immugio/three-math-extensions/blob/66cba15/src/Line2D.ts#L219)
|
|
603
631
|
|
|
604
632
|
___
|
|
605
633
|
|
|
@@ -622,7 +650,7 @@ Modifies this line.
|
|
|
622
650
|
|
|
623
651
|
#### Defined in
|
|
624
652
|
|
|
625
|
-
[src/Line2D.ts:
|
|
653
|
+
[src/Line2D.ts:104](https://github.com/Immugio/three-math-extensions/blob/66cba15/src/Line2D.ts#L104)
|
|
626
654
|
|
|
627
655
|
___
|
|
628
656
|
|
|
@@ -642,7 +670,7 @@ ___
|
|
|
642
670
|
|
|
643
671
|
#### Defined in
|
|
644
672
|
|
|
645
|
-
[src/Line2D.ts:
|
|
673
|
+
[src/Line2D.ts:93](https://github.com/Immugio/three-math-extensions/blob/66cba15/src/Line2D.ts#L93)
|
|
646
674
|
|
|
647
675
|
___
|
|
648
676
|
|
|
@@ -668,7 +696,7 @@ line section.
|
|
|
668
696
|
|
|
669
697
|
#### Defined in
|
|
670
698
|
|
|
671
|
-
[src/Line2D.ts:
|
|
699
|
+
[src/Line2D.ts:273](https://github.com/Immugio/three-math-extensions/blob/66cba15/src/Line2D.ts#L273)
|
|
672
700
|
|
|
673
701
|
___
|
|
674
702
|
|
|
@@ -688,7 +716,7 @@ ___
|
|
|
688
716
|
|
|
689
717
|
#### Defined in
|
|
690
718
|
|
|
691
|
-
[src/Line2D.ts:
|
|
719
|
+
[src/Line2D.ts:83](https://github.com/Immugio/three-math-extensions/blob/66cba15/src/Line2D.ts#L83)
|
|
692
720
|
|
|
693
721
|
___
|
|
694
722
|
|
|
@@ -712,7 +740,7 @@ Modifies this line.
|
|
|
712
740
|
|
|
713
741
|
#### Defined in
|
|
714
742
|
|
|
715
|
-
[src/Line2D.ts:
|
|
743
|
+
[src/Line2D.ts:175](https://github.com/Immugio/three-math-extensions/blob/66cba15/src/Line2D.ts#L175)
|
|
716
744
|
|
|
717
745
|
___
|
|
718
746
|
|
|
@@ -735,7 +763,7 @@ Modifies this line.
|
|
|
735
763
|
|
|
736
764
|
#### Defined in
|
|
737
765
|
|
|
738
|
-
[src/Line2D.ts:
|
|
766
|
+
[src/Line2D.ts:74](https://github.com/Immugio/three-math-extensions/blob/66cba15/src/Line2D.ts#L74)
|
|
739
767
|
|
|
740
768
|
___
|
|
741
769
|
|
|
@@ -757,7 +785,7 @@ Set the length of this line. Center and direction remain unchanged.
|
|
|
757
785
|
|
|
758
786
|
#### Defined in
|
|
759
787
|
|
|
760
|
-
[src/Line2D.ts:
|
|
788
|
+
[src/Line2D.ts:137](https://github.com/Immugio/three-math-extensions/blob/66cba15/src/Line2D.ts#L137)
|
|
761
789
|
|
|
762
790
|
___
|
|
763
791
|
|
|
@@ -780,7 +808,7 @@ Returns the original line section split into two parts, if the line **sections**
|
|
|
780
808
|
|
|
781
809
|
#### Defined in
|
|
782
810
|
|
|
783
|
-
[src/Line2D.ts:
|
|
811
|
+
[src/Line2D.ts:477](https://github.com/Immugio/three-math-extensions/blob/66cba15/src/Line2D.ts#L477)
|
|
784
812
|
|
|
785
813
|
___
|
|
786
814
|
|
|
@@ -804,7 +832,7 @@ Otherwise, null if the lines are parallel and do not intersect
|
|
|
804
832
|
|
|
805
833
|
#### Defined in
|
|
806
834
|
|
|
807
|
-
[src/Line2D.ts:
|
|
835
|
+
[src/Line2D.ts:496](https://github.com/Immugio/three-math-extensions/blob/66cba15/src/Line2D.ts#L496)
|
|
808
836
|
|
|
809
837
|
___
|
|
810
838
|
|
|
@@ -818,7 +846,7 @@ ___
|
|
|
818
846
|
|
|
819
847
|
#### Defined in
|
|
820
848
|
|
|
821
|
-
[src/Line2D.ts:
|
|
849
|
+
[src/Line2D.ts:683](https://github.com/Immugio/three-math-extensions/blob/66cba15/src/Line2D.ts#L683)
|
|
822
850
|
|
|
823
851
|
___
|
|
824
852
|
|
|
@@ -841,7 +869,7 @@ Modifies this line.
|
|
|
841
869
|
|
|
842
870
|
#### Defined in
|
|
843
871
|
|
|
844
|
-
[src/Line2D.ts:
|
|
872
|
+
[src/Line2D.ts:186](https://github.com/Immugio/three-math-extensions/blob/66cba15/src/Line2D.ts#L186)
|
|
845
873
|
|
|
846
874
|
___
|
|
847
875
|
|
|
@@ -864,7 +892,7 @@ Modifies this line.
|
|
|
864
892
|
|
|
865
893
|
#### Defined in
|
|
866
894
|
|
|
867
|
-
[src/Line2D.ts:
|
|
895
|
+
[src/Line2D.ts:199](https://github.com/Immugio/three-math-extensions/blob/66cba15/src/Line2D.ts#L199)
|
|
868
896
|
|
|
869
897
|
___
|
|
870
898
|
|
|
@@ -887,7 +915,7 @@ Modifies this line.
|
|
|
887
915
|
|
|
888
916
|
#### Defined in
|
|
889
917
|
|
|
890
|
-
[src/Line2D.ts:
|
|
918
|
+
[src/Line2D.ts:208](https://github.com/Immugio/three-math-extensions/blob/66cba15/src/Line2D.ts#L208)
|
|
891
919
|
|
|
892
920
|
___
|
|
893
921
|
|
|
@@ -910,7 +938,7 @@ Does not create a copy. Provided line is modified.
|
|
|
910
938
|
|
|
911
939
|
#### Defined in
|
|
912
940
|
|
|
913
|
-
[src/Line2D.ts:
|
|
941
|
+
[src/Line2D.ts:539](https://github.com/Immugio/three-math-extensions/blob/66cba15/src/Line2D.ts#L539)
|
|
914
942
|
|
|
915
943
|
___
|
|
916
944
|
|
|
@@ -939,7 +967,7 @@ Clones the line, does not modify this.
|
|
|
939
967
|
|
|
940
968
|
#### Defined in
|
|
941
969
|
|
|
942
|
-
[src/Line2D.ts:
|
|
970
|
+
[src/Line2D.ts:438](https://github.com/Immugio/three-math-extensions/blob/66cba15/src/Line2D.ts#L438)
|
|
943
971
|
|
|
944
972
|
___
|
|
945
973
|
|
|
@@ -963,7 +991,7 @@ ___
|
|
|
963
991
|
|
|
964
992
|
#### Defined in
|
|
965
993
|
|
|
966
|
-
[src/Line2D.ts:
|
|
994
|
+
[src/Line2D.ts:16](https://github.com/Immugio/three-math-extensions/blob/66cba15/src/Line2D.ts#L16)
|
|
967
995
|
|
|
968
996
|
___
|
|
969
997
|
|
|
@@ -983,7 +1011,7 @@ ___
|
|
|
983
1011
|
|
|
984
1012
|
#### Defined in
|
|
985
1013
|
|
|
986
|
-
[src/Line2D.ts:
|
|
1014
|
+
[src/Line2D.ts:46](https://github.com/Immugio/three-math-extensions/blob/66cba15/src/Line2D.ts#L46)
|
|
987
1015
|
|
|
988
1016
|
___
|
|
989
1017
|
|
|
@@ -1005,7 +1033,7 @@ ___
|
|
|
1005
1033
|
|
|
1006
1034
|
#### Defined in
|
|
1007
1035
|
|
|
1008
|
-
[src/Line2D.ts:
|
|
1036
|
+
[src/Line2D.ts:20](https://github.com/Immugio/three-math-extensions/blob/66cba15/src/Line2D.ts#L20)
|
|
1009
1037
|
|
|
1010
1038
|
___
|
|
1011
1039
|
|
|
@@ -1030,7 +1058,7 @@ The polygon will only be closed if either
|
|
|
1030
1058
|
|
|
1031
1059
|
#### Defined in
|
|
1032
1060
|
|
|
1033
|
-
[src/Line2D.ts:
|
|
1061
|
+
[src/Line2D.ts:29](https://github.com/Immugio/three-math-extensions/blob/66cba15/src/Line2D.ts#L29)
|
|
1034
1062
|
|
|
1035
1063
|
___
|
|
1036
1064
|
|
|
@@ -1064,7 +1092,7 @@ Clones the line, does not modify.
|
|
|
1064
1092
|
|
|
1065
1093
|
#### Defined in
|
|
1066
1094
|
|
|
1067
|
-
[src/Line2D.ts:
|
|
1095
|
+
[src/Line2D.ts:323](https://github.com/Immugio/three-math-extensions/blob/66cba15/src/Line2D.ts#L323)
|
|
1068
1096
|
|
|
1069
1097
|
___
|
|
1070
1098
|
|
|
@@ -1088,4 +1116,4 @@ Clone the lines, does not modify.
|
|
|
1088
1116
|
|
|
1089
1117
|
#### Defined in
|
|
1090
1118
|
|
|
1091
|
-
[src/Line2D.ts:
|
|
1119
|
+
[src/Line2D.ts:340](https://github.com/Immugio/three-math-extensions/blob/66cba15/src/Line2D.ts#L340)
|