@immugio/three-math-extensions 0.2.5 → 0.2.6

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.
@@ -25,9 +25,9 @@
25
25
 
26
26
  - [chunk](Line2D.md#chunk)
27
27
  - [clone](Line2D.md#clone)
28
- - [closestPointOnInfiniteLine](Line2D.md#closestpointoninfiniteline)
29
- - [closestPointOnLine](Line2D.md#closestpointonline)
30
- - [closestPointToPointParameterOnInfiniteLine](Line2D.md#closestpointtopointparameteroninfiniteline)
28
+ - [closestPointToPoint](Line2D.md#closestpointtopoint)
29
+ - [closestPointToPointParameter](Line2D.md#closestpointtopointparameter)
30
+ - [delta](Line2D.md#delta)
31
31
  - [distanceToPointOnInfiniteLine](Line2D.md#distancetopointoninfiniteline)
32
32
  - [equals](Line2D.md#equals)
33
33
  - [extendToEnds](Line2D.md#extendtoends)
@@ -79,7 +79,7 @@
79
79
 
80
80
  #### Defined in
81
81
 
82
- [src/Line2D.ts:7](https://github.com/Immugio/three-math-extensions/blob/c004965/src/Line2D.ts#L7)
82
+ [src/Line2D.ts:11](https://github.com/Immugio/three-math-extensions/blob/151f214/src/Line2D.ts#L11)
83
83
 
84
84
  ## Properties
85
85
 
@@ -89,7 +89,7 @@
89
89
 
90
90
  #### Defined in
91
91
 
92
- [src/Line2D.ts:7](https://github.com/Immugio/three-math-extensions/blob/c004965/src/Line2D.ts#L7)
92
+ [src/Line2D.ts:11](https://github.com/Immugio/three-math-extensions/blob/151f214/src/Line2D.ts#L11)
93
93
 
94
94
  ___
95
95
 
@@ -99,7 +99,7 @@ ___
99
99
 
100
100
  #### Defined in
101
101
 
102
- [src/Line2D.ts:7](https://github.com/Immugio/three-math-extensions/blob/c004965/src/Line2D.ts#L7)
102
+ [src/Line2D.ts:11](https://github.com/Immugio/three-math-extensions/blob/151f214/src/Line2D.ts#L11)
103
103
 
104
104
  ___
105
105
 
@@ -109,7 +109,7 @@ ___
109
109
 
110
110
  #### Defined in
111
111
 
112
- [src/Line2D.ts:7](https://github.com/Immugio/three-math-extensions/blob/c004965/src/Line2D.ts#L7)
112
+ [src/Line2D.ts:11](https://github.com/Immugio/three-math-extensions/blob/151f214/src/Line2D.ts#L11)
113
113
 
114
114
  ## Accessors
115
115
 
@@ -123,7 +123,7 @@ ___
123
123
 
124
124
  #### Defined in
125
125
 
126
- [src/Line2D.ts:44](https://github.com/Immugio/three-math-extensions/blob/c004965/src/Line2D.ts#L44)
126
+ [src/Line2D.ts:48](https://github.com/Immugio/three-math-extensions/blob/151f214/src/Line2D.ts#L48)
127
127
 
128
128
  • `set` **center**(`value`): `void`
129
129
 
@@ -134,7 +134,7 @@ Modifies this line.
134
134
 
135
135
  | Name | Type |
136
136
  | :------ | :------ |
137
- | `value` | `Point2` |
137
+ | `value` | [`Point2`](../interfaces/Point2.md) |
138
138
 
139
139
  #### Returns
140
140
 
@@ -142,7 +142,7 @@ Modifies this line.
142
142
 
143
143
  #### Defined in
144
144
 
145
- [src/Line2D.ts:53](https://github.com/Immugio/three-math-extensions/blob/c004965/src/Line2D.ts#L53)
145
+ [src/Line2D.ts:57](https://github.com/Immugio/three-math-extensions/blob/151f214/src/Line2D.ts#L57)
146
146
 
147
147
  ___
148
148
 
@@ -158,7 +158,7 @@ Returns the direction of this line.
158
158
 
159
159
  #### Defined in
160
160
 
161
- [src/Line2D.ts:147](https://github.com/Immugio/three-math-extensions/blob/c004965/src/Line2D.ts#L147)
161
+ [src/Line2D.ts:151](https://github.com/Immugio/three-math-extensions/blob/151f214/src/Line2D.ts#L151)
162
162
 
163
163
  ___
164
164
 
@@ -175,7 +175,7 @@ Endpoints are not cloned.
175
175
 
176
176
  #### Defined in
177
177
 
178
- [src/Line2D.ts:140](https://github.com/Immugio/three-math-extensions/blob/c004965/src/Line2D.ts#L140)
178
+ [src/Line2D.ts:144](https://github.com/Immugio/three-math-extensions/blob/151f214/src/Line2D.ts#L144)
179
179
 
180
180
  ___
181
181
 
@@ -189,7 +189,7 @@ ___
189
189
 
190
190
  #### Defined in
191
191
 
192
- [src/Line2D.ts:123](https://github.com/Immugio/three-math-extensions/blob/c004965/src/Line2D.ts#L123)
192
+ [src/Line2D.ts:127](https://github.com/Immugio/three-math-extensions/blob/151f214/src/Line2D.ts#L127)
193
193
 
194
194
  • `set` **length**(`l`): `void`
195
195
 
@@ -208,7 +208,7 @@ Modifies this line.
208
208
 
209
209
  #### Defined in
210
210
 
211
- [src/Line2D.ts:118](https://github.com/Immugio/three-math-extensions/blob/c004965/src/Line2D.ts#L118)
211
+ [src/Line2D.ts:122](https://github.com/Immugio/three-math-extensions/blob/151f214/src/Line2D.ts#L122)
212
212
 
213
213
  ## Methods
214
214
 
@@ -231,7 +231,7 @@ Clone the line, does not modify.
231
231
 
232
232
  #### Defined in
233
233
 
234
- [src/Line2D.ts:370](https://github.com/Immugio/three-math-extensions/blob/c004965/src/Line2D.ts#L370)
234
+ [src/Line2D.ts:374](https://github.com/Immugio/three-math-extensions/blob/151f214/src/Line2D.ts#L374)
235
235
 
236
236
  ___
237
237
 
@@ -247,21 +247,23 @@ Deep clone of this line
247
247
 
248
248
  #### Defined in
249
249
 
250
- [src/Line2D.ts:654](https://github.com/Immugio/three-math-extensions/blob/c004965/src/Line2D.ts#L654)
250
+ [src/Line2D.ts:653](https://github.com/Immugio/three-math-extensions/blob/151f214/src/Line2D.ts#L653)
251
251
 
252
252
  ___
253
253
 
254
- ### closestPointOnInfiniteLine
254
+ ### closestPointToPoint
255
255
 
256
- ▸ **closestPointOnInfiniteLine**(`point`): [`Vec2`](Vec2.md)
256
+ ▸ **closestPointToPoint**(`point`, `clampToLine?`, `target?`): [`Vec2`](Vec2.md)
257
257
 
258
- Returns the closest point on the **infinite** line to the given point.
258
+ Returns the closest point on the line to the given point.
259
259
 
260
260
  #### Parameters
261
261
 
262
- | Name | Type |
263
- | :------ | :------ |
264
- | `point` | `Vector2` |
262
+ | Name | Type | Description |
263
+ | :------ | :------ | :------ |
264
+ | `point` | `Vector2` | |
265
+ | `clampToLine?` | `boolean` | boolean (optional) |
266
+ | `target?` | [`Vec2`](Vec2.md) | Vec2 (optional) |
265
267
 
266
268
  #### Returns
267
269
 
@@ -269,51 +271,48 @@ Returns the closest point on the **infinite** line to the given point.
269
271
 
270
272
  #### Defined in
271
273
 
272
- [src/Line2D.ts:401](https://github.com/Immugio/three-math-extensions/blob/c004965/src/Line2D.ts#L401)
274
+ [src/Line2D.ts:393](https://github.com/Immugio/three-math-extensions/blob/151f214/src/Line2D.ts#L393)
273
275
 
274
276
  ___
275
277
 
276
- ### closestPointOnLine
277
-
278
- ▸ **closestPointOnLine**(`point`): [`Vec2`](Vec2.md)
278
+ ### closestPointToPointParameter
279
279
 
280
- Returns the closest point on the line **section** to the given point.
280
+ **closestPointToPointParameter**(`point`, `clampToLine`): `number`
281
281
 
282
282
  #### Parameters
283
283
 
284
284
  | Name | Type |
285
285
  | :------ | :------ |
286
- | `point` | `Vector2` |
286
+ | `point` | `any` |
287
+ | `clampToLine` | `any` |
287
288
 
288
289
  #### Returns
289
290
 
290
- [`Vec2`](Vec2.md)
291
+ `number`
291
292
 
292
293
  #### Defined in
293
294
 
294
- [src/Line2D.ts:410](https://github.com/Immugio/three-math-extensions/blob/c004965/src/Line2D.ts#L410)
295
+ [src/Line2D.ts:402](https://github.com/Immugio/three-math-extensions/blob/151f214/src/Line2D.ts#L402)
295
296
 
296
297
  ___
297
298
 
298
- ### closestPointToPointParameterOnInfiniteLine
299
-
300
- ▸ **closestPointToPointParameterOnInfiniteLine**(`point`): `number`
299
+ ### delta
301
300
 
302
- Returns the closest point parameter on the **infinite** line to the given point.
301
+ **delta**(`target`): [`Vec2`](Vec2.md)
303
302
 
304
303
  #### Parameters
305
304
 
306
305
  | Name | Type |
307
306
  | :------ | :------ |
308
- | `point` | `Vector2` |
307
+ | `target` | [`Vec2`](Vec2.md) |
309
308
 
310
309
  #### Returns
311
310
 
312
- `number`
311
+ [`Vec2`](Vec2.md)
313
312
 
314
313
  #### Defined in
315
314
 
316
- [src/Line2D.ts:387](https://github.com/Immugio/three-math-extensions/blob/c004965/src/Line2D.ts#L387)
315
+ [src/Line2D.ts:398](https://github.com/Immugio/three-math-extensions/blob/151f214/src/Line2D.ts#L398)
317
316
 
318
317
  ___
319
318
 
@@ -327,7 +326,7 @@ Returns the distance between the **infinite** line and the point.
327
326
 
328
327
  | Name | Type |
329
328
  | :------ | :------ |
330
- | `point` | `Point2` |
329
+ | `point` | [`Point2`](../interfaces/Point2.md) |
331
330
 
332
331
  #### Returns
333
332
 
@@ -335,7 +334,7 @@ Returns the distance between the **infinite** line and the point.
335
334
 
336
335
  #### Defined in
337
336
 
338
- [src/Line2D.ts:423](https://github.com/Immugio/three-math-extensions/blob/c004965/src/Line2D.ts#L423)
337
+ [src/Line2D.ts:422](https://github.com/Immugio/three-math-extensions/blob/151f214/src/Line2D.ts#L422)
339
338
 
340
339
  ___
341
340
 
@@ -355,7 +354,7 @@ ___
355
354
 
356
355
  #### Defined in
357
356
 
358
- [src/Line2D.ts:647](https://github.com/Immugio/three-math-extensions/blob/c004965/src/Line2D.ts#L647)
357
+ [src/Line2D.ts:646](https://github.com/Immugio/three-math-extensions/blob/151f214/src/Line2D.ts#L646)
359
358
 
360
359
  ___
361
360
 
@@ -379,7 +378,7 @@ Does not create a copy. Provided line is modified.
379
378
 
380
379
  #### Defined in
381
380
 
382
- [src/Line2D.ts:560](https://github.com/Immugio/three-math-extensions/blob/c004965/src/Line2D.ts#L560)
381
+ [src/Line2D.ts:559](https://github.com/Immugio/three-math-extensions/blob/151f214/src/Line2D.ts#L559)
383
382
 
384
383
  ___
385
384
 
@@ -403,7 +402,7 @@ Modifies this line.
403
402
 
404
403
  #### Defined in
405
404
 
406
- [src/Line2D.ts:581](https://github.com/Immugio/three-math-extensions/blob/c004965/src/Line2D.ts#L581)
405
+ [src/Line2D.ts:580](https://github.com/Immugio/three-math-extensions/blob/151f214/src/Line2D.ts#L580)
407
406
 
408
407
  ___
409
408
 
@@ -420,7 +419,7 @@ Modifies this line.
420
419
 
421
420
  #### Defined in
422
421
 
423
- [src/Line2D.ts:155](https://github.com/Immugio/three-math-extensions/blob/c004965/src/Line2D.ts#L155)
422
+ [src/Line2D.ts:159](https://github.com/Immugio/three-math-extensions/blob/151f214/src/Line2D.ts#L159)
424
423
 
425
424
  ___
426
425
 
@@ -442,7 +441,7 @@ Logical AND of this and the other line section.
442
441
 
443
442
  #### Defined in
444
443
 
445
- [src/Line2D.ts:283](https://github.com/Immugio/three-math-extensions/blob/c004965/src/Line2D.ts#L283)
444
+ [src/Line2D.ts:287](https://github.com/Immugio/three-math-extensions/blob/151f214/src/Line2D.ts#L287)
446
445
 
447
446
  ___
448
447
 
@@ -465,7 +464,7 @@ Check that the infinite lines intersect and that they are in the specified angle
465
464
 
466
465
  #### Defined in
467
466
 
468
- [src/Line2D.ts:631](https://github.com/Immugio/three-math-extensions/blob/c004965/src/Line2D.ts#L631)
467
+ [src/Line2D.ts:630](https://github.com/Immugio/three-math-extensions/blob/151f214/src/Line2D.ts#L630)
469
468
 
470
469
  ___
471
470
 
@@ -487,7 +486,7 @@ Returns the intersection point of two lines. The lines are assumed to be infinit
487
486
 
488
487
  #### Defined in
489
488
 
490
- [src/Line2D.ts:604](https://github.com/Immugio/three-math-extensions/blob/c004965/src/Line2D.ts#L604)
489
+ [src/Line2D.ts:603](https://github.com/Immugio/three-math-extensions/blob/151f214/src/Line2D.ts#L603)
491
490
 
492
491
  ___
493
492
 
@@ -509,7 +508,7 @@ Returns true if other line is collinear and overlaps or at least touching this l
509
508
 
510
509
  #### Defined in
511
510
 
512
- [src/Line2D.ts:255](https://github.com/Immugio/three-math-extensions/blob/c004965/src/Line2D.ts#L255)
511
+ [src/Line2D.ts:259](https://github.com/Immugio/three-math-extensions/blob/151f214/src/Line2D.ts#L259)
513
512
 
514
513
  ___
515
514
 
@@ -523,7 +522,7 @@ Returns true when the point is beside the line **segment**
523
522
 
524
523
  | Name | Type |
525
524
  | :------ | :------ |
526
- | `point` | `Point2` |
525
+ | `point` | [`Point2`](../interfaces/Point2.md) |
527
526
 
528
527
  #### Returns
529
528
 
@@ -531,7 +530,7 @@ Returns true when the point is beside the line **segment**
531
530
 
532
531
  #### Defined in
533
532
 
534
- [src/Line2D.ts:235](https://github.com/Immugio/three-math-extensions/blob/c004965/src/Line2D.ts#L235)
533
+ [src/Line2D.ts:239](https://github.com/Immugio/three-math-extensions/blob/151f214/src/Line2D.ts#L239)
535
534
 
536
535
  ___
537
536
 
@@ -545,7 +544,7 @@ Returns true when the point is beside the line **segment** and within the maxDis
545
544
 
546
545
  | Name | Type |
547
546
  | :------ | :------ |
548
- | `point` | `Point2` |
547
+ | `point` | [`Point2`](../interfaces/Point2.md) |
549
548
  | `maxDistance` | `number` |
550
549
 
551
550
  #### Returns
@@ -554,7 +553,7 @@ Returns true when the point is beside the line **segment** and within the maxDis
554
553
 
555
554
  #### Defined in
556
555
 
557
- [src/Line2D.ts:226](https://github.com/Immugio/three-math-extensions/blob/c004965/src/Line2D.ts#L226)
556
+ [src/Line2D.ts:230](https://github.com/Immugio/three-math-extensions/blob/151f214/src/Line2D.ts#L230)
558
557
 
559
558
  ___
560
559
 
@@ -568,7 +567,7 @@ Returns true when the point is on the **infinite** line.
568
567
 
569
568
  | Name | Type |
570
569
  | :------ | :------ |
571
- | `point` | `Point2` |
570
+ | `point` | [`Point2`](../interfaces/Point2.md) |
572
571
 
573
572
  #### Returns
574
573
 
@@ -576,7 +575,7 @@ Returns true when the point is on the **infinite** line.
576
575
 
577
576
  #### Defined in
578
577
 
579
- [src/Line2D.ts:247](https://github.com/Immugio/three-math-extensions/blob/c004965/src/Line2D.ts#L247)
578
+ [src/Line2D.ts:251](https://github.com/Immugio/three-math-extensions/blob/151f214/src/Line2D.ts#L251)
580
579
 
581
580
  ___
582
581
 
@@ -592,7 +591,7 @@ https://stackoverflow.com/questions/6865832/detecting-if-a-point-is-of-a-line-se
592
591
 
593
592
  | Name | Type |
594
593
  | :------ | :------ |
595
- | `point` | `Point2` |
594
+ | `point` | [`Point2`](../interfaces/Point2.md) |
596
595
 
597
596
  #### Returns
598
597
 
@@ -600,7 +599,7 @@ https://stackoverflow.com/questions/6865832/detecting-if-a-point-is-of-a-line-se
600
599
 
601
600
  #### Defined in
602
601
 
603
- [src/Line2D.ts:213](https://github.com/Immugio/three-math-extensions/blob/c004965/src/Line2D.ts#L213)
602
+ [src/Line2D.ts:217](https://github.com/Immugio/three-math-extensions/blob/151f214/src/Line2D.ts#L217)
604
603
 
605
604
  ___
606
605
 
@@ -623,7 +622,7 @@ Modifies this line.
623
622
 
624
623
  #### Defined in
625
624
 
626
- [src/Line2D.ts:98](https://github.com/Immugio/three-math-extensions/blob/c004965/src/Line2D.ts#L98)
625
+ [src/Line2D.ts:102](https://github.com/Immugio/three-math-extensions/blob/151f214/src/Line2D.ts#L102)
627
626
 
628
627
  ___
629
628
 
@@ -643,7 +642,7 @@ ___
643
642
 
644
643
  #### Defined in
645
644
 
646
- [src/Line2D.ts:87](https://github.com/Immugio/three-math-extensions/blob/c004965/src/Line2D.ts#L87)
645
+ [src/Line2D.ts:91](https://github.com/Immugio/three-math-extensions/blob/151f214/src/Line2D.ts#L91)
647
646
 
648
647
  ___
649
648
 
@@ -669,7 +668,7 @@ line section.
669
668
 
670
669
  #### Defined in
671
670
 
672
- [src/Line2D.ts:267](https://github.com/Immugio/three-math-extensions/blob/c004965/src/Line2D.ts#L267)
671
+ [src/Line2D.ts:271](https://github.com/Immugio/three-math-extensions/blob/151f214/src/Line2D.ts#L271)
673
672
 
674
673
  ___
675
674
 
@@ -689,7 +688,7 @@ ___
689
688
 
690
689
  #### Defined in
691
690
 
692
- [src/Line2D.ts:77](https://github.com/Immugio/three-math-extensions/blob/c004965/src/Line2D.ts#L77)
691
+ [src/Line2D.ts:81](https://github.com/Immugio/three-math-extensions/blob/151f214/src/Line2D.ts#L81)
693
692
 
694
693
  ___
695
694
 
@@ -713,7 +712,7 @@ Modifies this line.
713
712
 
714
713
  #### Defined in
715
714
 
716
- [src/Line2D.ts:169](https://github.com/Immugio/three-math-extensions/blob/c004965/src/Line2D.ts#L169)
715
+ [src/Line2D.ts:173](https://github.com/Immugio/three-math-extensions/blob/151f214/src/Line2D.ts#L173)
717
716
 
718
717
  ___
719
718
 
@@ -728,7 +727,7 @@ Modifies this line.
728
727
 
729
728
  | Name | Type |
730
729
  | :------ | :------ |
731
- | `value` | `Point2` |
730
+ | `value` | [`Point2`](../interfaces/Point2.md) |
732
731
 
733
732
  #### Returns
734
733
 
@@ -736,7 +735,7 @@ Modifies this line.
736
735
 
737
736
  #### Defined in
738
737
 
739
- [src/Line2D.ts:68](https://github.com/Immugio/three-math-extensions/blob/c004965/src/Line2D.ts#L68)
738
+ [src/Line2D.ts:72](https://github.com/Immugio/three-math-extensions/blob/151f214/src/Line2D.ts#L72)
740
739
 
741
740
  ___
742
741
 
@@ -758,7 +757,7 @@ Set the length of this line. Center and direction remain unchanged.
758
757
 
759
758
  #### Defined in
760
759
 
761
- [src/Line2D.ts:131](https://github.com/Immugio/three-math-extensions/blob/c004965/src/Line2D.ts#L131)
760
+ [src/Line2D.ts:135](https://github.com/Immugio/three-math-extensions/blob/151f214/src/Line2D.ts#L135)
762
761
 
763
762
  ___
764
763
 
@@ -781,7 +780,7 @@ Returns the original line section split into two parts, if the line **sections**
781
780
 
782
781
  #### Defined in
783
782
 
784
- [src/Line2D.ts:476](https://github.com/Immugio/three-math-extensions/blob/c004965/src/Line2D.ts#L476)
783
+ [src/Line2D.ts:475](https://github.com/Immugio/three-math-extensions/blob/151f214/src/Line2D.ts#L475)
785
784
 
786
785
  ___
787
786
 
@@ -805,7 +804,7 @@ Otherwise, null if the lines are parallel and do not intersect
805
804
 
806
805
  #### Defined in
807
806
 
808
- [src/Line2D.ts:495](https://github.com/Immugio/three-math-extensions/blob/c004965/src/Line2D.ts#L495)
807
+ [src/Line2D.ts:494](https://github.com/Immugio/three-math-extensions/blob/151f214/src/Line2D.ts#L494)
809
808
 
810
809
  ___
811
810
 
@@ -819,7 +818,7 @@ ___
819
818
 
820
819
  #### Defined in
821
820
 
822
- [src/Line2D.ts:658](https://github.com/Immugio/three-math-extensions/blob/c004965/src/Line2D.ts#L658)
821
+ [src/Line2D.ts:657](https://github.com/Immugio/three-math-extensions/blob/151f214/src/Line2D.ts#L657)
823
822
 
824
823
  ___
825
824
 
@@ -834,7 +833,7 @@ Modifies this line.
834
833
 
835
834
  | Name | Type |
836
835
  | :------ | :------ |
837
- | `value` | `Point2` |
836
+ | `value` | [`Point2`](../interfaces/Point2.md) |
838
837
 
839
838
  #### Returns
840
839
 
@@ -842,7 +841,7 @@ Modifies this line.
842
841
 
843
842
  #### Defined in
844
843
 
845
- [src/Line2D.ts:180](https://github.com/Immugio/three-math-extensions/blob/c004965/src/Line2D.ts#L180)
844
+ [src/Line2D.ts:184](https://github.com/Immugio/three-math-extensions/blob/151f214/src/Line2D.ts#L184)
846
845
 
847
846
  ___
848
847
 
@@ -865,7 +864,7 @@ Modifies this line.
865
864
 
866
865
  #### Defined in
867
866
 
868
- [src/Line2D.ts:193](https://github.com/Immugio/three-math-extensions/blob/c004965/src/Line2D.ts#L193)
867
+ [src/Line2D.ts:197](https://github.com/Immugio/three-math-extensions/blob/151f214/src/Line2D.ts#L197)
869
868
 
870
869
  ___
871
870
 
@@ -888,7 +887,7 @@ Modifies this line.
888
887
 
889
888
  #### Defined in
890
889
 
891
- [src/Line2D.ts:202](https://github.com/Immugio/three-math-extensions/blob/c004965/src/Line2D.ts#L202)
890
+ [src/Line2D.ts:206](https://github.com/Immugio/three-math-extensions/blob/151f214/src/Line2D.ts#L206)
892
891
 
893
892
  ___
894
893
 
@@ -911,7 +910,7 @@ Does not create a copy. Provided line is modified.
911
910
 
912
911
  #### Defined in
913
912
 
914
- [src/Line2D.ts:538](https://github.com/Immugio/three-math-extensions/blob/c004965/src/Line2D.ts#L538)
913
+ [src/Line2D.ts:537](https://github.com/Immugio/three-math-extensions/blob/151f214/src/Line2D.ts#L537)
915
914
 
916
915
  ___
917
916
 
@@ -940,7 +939,7 @@ Clones the line, does not modify this.
940
939
 
941
940
  #### Defined in
942
941
 
943
- [src/Line2D.ts:437](https://github.com/Immugio/three-math-extensions/blob/c004965/src/Line2D.ts#L437)
942
+ [src/Line2D.ts:436](https://github.com/Immugio/three-math-extensions/blob/151f214/src/Line2D.ts#L436)
944
943
 
945
944
  ___
946
945
 
@@ -964,7 +963,7 @@ ___
964
963
 
965
964
  #### Defined in
966
965
 
967
- [src/Line2D.ts:10](https://github.com/Immugio/three-math-extensions/blob/c004965/src/Line2D.ts#L10)
966
+ [src/Line2D.ts:14](https://github.com/Immugio/three-math-extensions/blob/151f214/src/Line2D.ts#L14)
968
967
 
969
968
  ___
970
969
 
@@ -984,7 +983,7 @@ ___
984
983
 
985
984
  #### Defined in
986
985
 
987
- [src/Line2D.ts:40](https://github.com/Immugio/three-math-extensions/blob/c004965/src/Line2D.ts#L40)
986
+ [src/Line2D.ts:44](https://github.com/Immugio/three-math-extensions/blob/151f214/src/Line2D.ts#L44)
988
987
 
989
988
  ___
990
989
 
@@ -996,8 +995,8 @@ ___
996
995
 
997
996
  | Name | Type | Default value |
998
997
  | :------ | :------ | :------ |
999
- | `p1` | `Point2` | `undefined` |
1000
- | `p2` | `Point2` | `undefined` |
998
+ | `p1` | [`Point2`](../interfaces/Point2.md) | `undefined` |
999
+ | `p2` | [`Point2`](../interfaces/Point2.md) | `undefined` |
1001
1000
  | `index` | `number` | `0` |
1002
1001
 
1003
1002
  #### Returns
@@ -1006,7 +1005,7 @@ ___
1006
1005
 
1007
1006
  #### Defined in
1008
1007
 
1009
- [src/Line2D.ts:14](https://github.com/Immugio/three-math-extensions/blob/c004965/src/Line2D.ts#L14)
1008
+ [src/Line2D.ts:18](https://github.com/Immugio/three-math-extensions/blob/151f214/src/Line2D.ts#L18)
1010
1009
 
1011
1010
  ___
1012
1011
 
@@ -1022,7 +1021,7 @@ The polygon will only be closed if either
1022
1021
 
1023
1022
  | Name | Type | Default value |
1024
1023
  | :------ | :------ | :------ |
1025
- | `polygon` | `Point2`[] | `undefined` |
1024
+ | `polygon` | [`Point2`](../interfaces/Point2.md)[] | `undefined` |
1026
1025
  | `forceClosedPolygon` | `boolean` | `false` |
1027
1026
 
1028
1027
  #### Returns
@@ -1031,7 +1030,7 @@ The polygon will only be closed if either
1031
1030
 
1032
1031
  #### Defined in
1033
1032
 
1034
- [src/Line2D.ts:23](https://github.com/Immugio/three-math-extensions/blob/c004965/src/Line2D.ts#L23)
1033
+ [src/Line2D.ts:27](https://github.com/Immugio/three-math-extensions/blob/151f214/src/Line2D.ts#L27)
1035
1034
 
1036
1035
  ___
1037
1036
 
@@ -1065,7 +1064,7 @@ Clones the line, does not modify.
1065
1064
 
1066
1065
  #### Defined in
1067
1066
 
1068
- [src/Line2D.ts:317](https://github.com/Immugio/three-math-extensions/blob/c004965/src/Line2D.ts#L317)
1067
+ [src/Line2D.ts:321](https://github.com/Immugio/three-math-extensions/blob/151f214/src/Line2D.ts#L321)
1069
1068
 
1070
1069
  ___
1071
1070
 
@@ -1089,4 +1088,4 @@ Clone the lines, does not modify.
1089
1088
 
1090
1089
  #### Defined in
1091
1090
 
1092
- [src/Line2D.ts:334](https://github.com/Immugio/three-math-extensions/blob/c004965/src/Line2D.ts#L334)
1091
+ [src/Line2D.ts:338](https://github.com/Immugio/three-math-extensions/blob/151f214/src/Line2D.ts#L338)