@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/Line3D.md
CHANGED
|
@@ -81,7 +81,7 @@ Line3.constructor
|
|
|
81
81
|
|
|
82
82
|
#### Defined in
|
|
83
83
|
|
|
84
|
-
[src/Line3D.ts:13](https://github.com/Immugio/three-math-extensions/blob/
|
|
84
|
+
[src/Line3D.ts:13](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line3D.ts#L13)
|
|
85
85
|
|
|
86
86
|
## Properties
|
|
87
87
|
|
|
@@ -95,7 +95,7 @@ Line3.end
|
|
|
95
95
|
|
|
96
96
|
#### Defined in
|
|
97
97
|
|
|
98
|
-
[src/Line3D.ts:9](https://github.com/Immugio/three-math-extensions/blob/
|
|
98
|
+
[src/Line3D.ts:9](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line3D.ts#L9)
|
|
99
99
|
|
|
100
100
|
___
|
|
101
101
|
|
|
@@ -105,7 +105,7 @@ ___
|
|
|
105
105
|
|
|
106
106
|
#### Defined in
|
|
107
107
|
|
|
108
|
-
[src/Line3D.ts:13](https://github.com/Immugio/three-math-extensions/blob/
|
|
108
|
+
[src/Line3D.ts:13](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line3D.ts#L13)
|
|
109
109
|
|
|
110
110
|
___
|
|
111
111
|
|
|
@@ -119,7 +119,7 @@ Line3.start
|
|
|
119
119
|
|
|
120
120
|
#### Defined in
|
|
121
121
|
|
|
122
|
-
[src/Line3D.ts:8](https://github.com/Immugio/three-math-extensions/blob/
|
|
122
|
+
[src/Line3D.ts:8](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line3D.ts#L8)
|
|
123
123
|
|
|
124
124
|
## Accessors
|
|
125
125
|
|
|
@@ -135,7 +135,7 @@ Returns the center of this line
|
|
|
135
135
|
|
|
136
136
|
#### Defined in
|
|
137
137
|
|
|
138
|
-
[src/Line3D.ts:270](https://github.com/Immugio/three-math-extensions/blob/
|
|
138
|
+
[src/Line3D.ts:270](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line3D.ts#L270)
|
|
139
139
|
|
|
140
140
|
___
|
|
141
141
|
|
|
@@ -151,7 +151,7 @@ Returns the direction of this line.
|
|
|
151
151
|
|
|
152
152
|
#### Defined in
|
|
153
153
|
|
|
154
|
-
[src/Line3D.ts:263](https://github.com/Immugio/three-math-extensions/blob/
|
|
154
|
+
[src/Line3D.ts:263](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line3D.ts#L263)
|
|
155
155
|
|
|
156
156
|
___
|
|
157
157
|
|
|
@@ -167,7 +167,7 @@ Returns the start and end points of the line as an array.
|
|
|
167
167
|
|
|
168
168
|
#### Defined in
|
|
169
169
|
|
|
170
|
-
[src/Line3D.ts:293](https://github.com/Immugio/three-math-extensions/blob/
|
|
170
|
+
[src/Line3D.ts:293](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line3D.ts#L293)
|
|
171
171
|
|
|
172
172
|
___
|
|
173
173
|
|
|
@@ -183,7 +183,7 @@ Returns this line's length.
|
|
|
183
183
|
|
|
184
184
|
#### Defined in
|
|
185
185
|
|
|
186
|
-
[src/Line3D.ts:247](https://github.com/Immugio/three-math-extensions/blob/
|
|
186
|
+
[src/Line3D.ts:247](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line3D.ts#L247)
|
|
187
187
|
|
|
188
188
|
## Methods
|
|
189
189
|
|
|
@@ -205,7 +205,7 @@ Divides the Line3D into a number of segments of the given length.
|
|
|
205
205
|
|
|
206
206
|
#### Defined in
|
|
207
207
|
|
|
208
|
-
[src/Line3D.ts:405](https://github.com/Immugio/three-math-extensions/blob/
|
|
208
|
+
[src/Line3D.ts:405](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line3D.ts#L405)
|
|
209
209
|
|
|
210
210
|
___
|
|
211
211
|
|
|
@@ -234,7 +234,7 @@ Clones the line, does not modify this.
|
|
|
234
234
|
|
|
235
235
|
#### Defined in
|
|
236
236
|
|
|
237
|
-
[src/Line3D.ts:51](https://github.com/Immugio/three-math-extensions/blob/
|
|
237
|
+
[src/Line3D.ts:51](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line3D.ts#L51)
|
|
238
238
|
|
|
239
239
|
___
|
|
240
240
|
|
|
@@ -260,7 +260,7 @@ Clones the line, does not modify this.
|
|
|
260
260
|
|
|
261
261
|
#### Defined in
|
|
262
262
|
|
|
263
|
-
[src/Line3D.ts:76](https://github.com/Immugio/three-math-extensions/blob/
|
|
263
|
+
[src/Line3D.ts:76](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line3D.ts#L76)
|
|
264
264
|
|
|
265
265
|
___
|
|
266
266
|
|
|
@@ -280,7 +280,7 @@ Line3.clone
|
|
|
280
280
|
|
|
281
281
|
#### Defined in
|
|
282
282
|
|
|
283
|
-
[src/Line3D.ts:577](https://github.com/Immugio/three-math-extensions/blob/
|
|
283
|
+
[src/Line3D.ts:577](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line3D.ts#L577)
|
|
284
284
|
|
|
285
285
|
___
|
|
286
286
|
|
|
@@ -308,7 +308,7 @@ line's endpoints.
|
|
|
308
308
|
|
|
309
309
|
#### Defined in
|
|
310
310
|
|
|
311
|
-
[src/Line3D.ts:551](https://github.com/Immugio/three-math-extensions/blob/
|
|
311
|
+
[src/Line3D.ts:551](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line3D.ts#L551)
|
|
312
312
|
|
|
313
313
|
___
|
|
314
314
|
|
|
@@ -331,7 +331,7 @@ Check that this line section contains provided point.
|
|
|
331
331
|
|
|
332
332
|
#### Defined in
|
|
333
333
|
|
|
334
|
-
[src/Line3D.ts:302](https://github.com/Immugio/three-math-extensions/blob/
|
|
334
|
+
[src/Line3D.ts:302](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line3D.ts#L302)
|
|
335
335
|
|
|
336
336
|
___
|
|
337
337
|
|
|
@@ -358,7 +358,7 @@ line section.
|
|
|
358
358
|
|
|
359
359
|
#### Defined in
|
|
360
360
|
|
|
361
|
-
[src/Line3D.ts:200](https://github.com/Immugio/three-math-extensions/blob/
|
|
361
|
+
[src/Line3D.ts:200](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line3D.ts#L200)
|
|
362
362
|
|
|
363
363
|
___
|
|
364
364
|
|
|
@@ -381,7 +381,7 @@ Distance from this line to the provided point.
|
|
|
381
381
|
|
|
382
382
|
#### Defined in
|
|
383
383
|
|
|
384
|
-
[src/Line3D.ts:312](https://github.com/Immugio/three-math-extensions/blob/
|
|
384
|
+
[src/Line3D.ts:312](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line3D.ts#L312)
|
|
385
385
|
|
|
386
386
|
___
|
|
387
387
|
|
|
@@ -408,7 +408,7 @@ Line3.equals
|
|
|
408
408
|
|
|
409
409
|
#### Defined in
|
|
410
410
|
|
|
411
|
-
[src/Line3D.ts:570](https://github.com/Immugio/three-math-extensions/blob/
|
|
411
|
+
[src/Line3D.ts:570](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line3D.ts#L570)
|
|
412
412
|
|
|
413
413
|
___
|
|
414
414
|
|
|
@@ -440,7 +440,7 @@ Returns null if lines are not parallel.
|
|
|
440
440
|
|
|
441
441
|
#### Defined in
|
|
442
442
|
|
|
443
|
-
[src/Line3D.ts:323](https://github.com/Immugio/three-math-extensions/blob/
|
|
443
|
+
[src/Line3D.ts:323](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line3D.ts#L323)
|
|
444
444
|
|
|
445
445
|
___
|
|
446
446
|
|
|
@@ -467,7 +467,7 @@ https://stackoverflow.com/questions/2316490/the-algorithm-to-find-the-point-of-i
|
|
|
467
467
|
|
|
468
468
|
#### Defined in
|
|
469
469
|
|
|
470
|
-
[src/Line3D.ts:456](https://github.com/Immugio/three-math-extensions/blob/
|
|
470
|
+
[src/Line3D.ts:456](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line3D.ts#L456)
|
|
471
471
|
|
|
472
472
|
___
|
|
473
473
|
|
|
@@ -494,7 +494,7 @@ is parallel to this line.
|
|
|
494
494
|
|
|
495
495
|
#### Defined in
|
|
496
496
|
|
|
497
|
-
[src/Line3D.ts:344](https://github.com/Immugio/three-math-extensions/blob/
|
|
497
|
+
[src/Line3D.ts:344](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line3D.ts#L344)
|
|
498
498
|
|
|
499
499
|
___
|
|
500
500
|
|
|
@@ -525,7 +525,7 @@ Clones the line, does not modify this.
|
|
|
525
525
|
|
|
526
526
|
#### Defined in
|
|
527
527
|
|
|
528
|
-
[src/Line3D.ts:111](https://github.com/Immugio/three-math-extensions/blob/
|
|
528
|
+
[src/Line3D.ts:111](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line3D.ts#L111)
|
|
529
529
|
|
|
530
530
|
___
|
|
531
531
|
|
|
@@ -545,7 +545,7 @@ ___
|
|
|
545
545
|
|
|
546
546
|
#### Defined in
|
|
547
547
|
|
|
548
|
-
[src/Line3D.ts:380](https://github.com/Immugio/three-math-extensions/blob/
|
|
548
|
+
[src/Line3D.ts:380](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line3D.ts#L380)
|
|
549
549
|
|
|
550
550
|
___
|
|
551
551
|
|
|
@@ -565,7 +565,7 @@ ___
|
|
|
565
565
|
|
|
566
566
|
#### Defined in
|
|
567
567
|
|
|
568
|
-
[src/Line3D.ts:368](https://github.com/Immugio/three-math-extensions/blob/
|
|
568
|
+
[src/Line3D.ts:368](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line3D.ts#L368)
|
|
569
569
|
|
|
570
570
|
___
|
|
571
571
|
|
|
@@ -581,7 +581,7 @@ Project the line to 2D space, Y value is dropped
|
|
|
581
581
|
|
|
582
582
|
#### Defined in
|
|
583
583
|
|
|
584
|
-
[src/Line3D.ts:563](https://github.com/Immugio/three-math-extensions/blob/
|
|
584
|
+
[src/Line3D.ts:563](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line3D.ts#L563)
|
|
585
585
|
|
|
586
586
|
___
|
|
587
587
|
|
|
@@ -609,7 +609,7 @@ line section.
|
|
|
609
609
|
|
|
610
610
|
#### Defined in
|
|
611
611
|
|
|
612
|
-
[src/Line3D.ts:210](https://github.com/Immugio/three-math-extensions/blob/
|
|
612
|
+
[src/Line3D.ts:210](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line3D.ts#L210)
|
|
613
613
|
|
|
614
614
|
___
|
|
615
615
|
|
|
@@ -632,7 +632,7 @@ Returns a new line that is the projection of this line onto @other. Uses `closes
|
|
|
632
632
|
|
|
633
633
|
#### Defined in
|
|
634
634
|
|
|
635
|
-
[src/Line3D.ts:394](https://github.com/Immugio/three-math-extensions/blob/
|
|
635
|
+
[src/Line3D.ts:394](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line3D.ts#L394)
|
|
636
636
|
|
|
637
637
|
___
|
|
638
638
|
|
|
@@ -652,7 +652,7 @@ ___
|
|
|
652
652
|
|
|
653
653
|
#### Defined in
|
|
654
654
|
|
|
655
|
-
[src/Line3D.ts:359](https://github.com/Immugio/three-math-extensions/blob/
|
|
655
|
+
[src/Line3D.ts:359](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line3D.ts#L359)
|
|
656
656
|
|
|
657
657
|
___
|
|
658
658
|
|
|
@@ -674,7 +674,7 @@ Set the center of the line to the provided point. Length and direction remain un
|
|
|
674
674
|
|
|
675
675
|
#### Defined in
|
|
676
676
|
|
|
677
|
-
[src/Line3D.ts:278](https://github.com/Immugio/three-math-extensions/blob/
|
|
677
|
+
[src/Line3D.ts:278](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line3D.ts#L278)
|
|
678
678
|
|
|
679
679
|
___
|
|
680
680
|
|
|
@@ -696,7 +696,7 @@ Set the length of this line. Center and direction remain unchanged.
|
|
|
696
696
|
|
|
697
697
|
#### Defined in
|
|
698
698
|
|
|
699
|
-
[src/Line3D.ts:255](https://github.com/Immugio/three-math-extensions/blob/
|
|
699
|
+
[src/Line3D.ts:255](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line3D.ts#L255)
|
|
700
700
|
|
|
701
701
|
___
|
|
702
702
|
|
|
@@ -710,7 +710,7 @@ ___
|
|
|
710
710
|
|
|
711
711
|
#### Defined in
|
|
712
712
|
|
|
713
|
-
[src/Line3D.ts:581](https://github.com/Immugio/three-math-extensions/blob/
|
|
713
|
+
[src/Line3D.ts:581](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line3D.ts#L581)
|
|
714
714
|
|
|
715
715
|
___
|
|
716
716
|
|
|
@@ -732,7 +732,7 @@ Move this line by the given vector.
|
|
|
732
732
|
|
|
733
733
|
#### Defined in
|
|
734
734
|
|
|
735
|
-
[src/Line3D.ts:441](https://github.com/Immugio/three-math-extensions/blob/
|
|
735
|
+
[src/Line3D.ts:441](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line3D.ts#L441)
|
|
736
736
|
|
|
737
737
|
___
|
|
738
738
|
|
|
@@ -754,7 +754,7 @@ ___
|
|
|
754
754
|
|
|
755
755
|
#### Defined in
|
|
756
756
|
|
|
757
|
-
[src/Line3D.ts:18](https://github.com/Immugio/three-math-extensions/blob/
|
|
757
|
+
[src/Line3D.ts:18](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line3D.ts#L18)
|
|
758
758
|
|
|
759
759
|
___
|
|
760
760
|
|
|
@@ -779,7 +779,7 @@ The polygon will only be closed if either
|
|
|
779
779
|
|
|
780
780
|
#### Defined in
|
|
781
781
|
|
|
782
|
-
[src/Line3D.ts:27](https://github.com/Immugio/three-math-extensions/blob/
|
|
782
|
+
[src/Line3D.ts:27](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line3D.ts#L27)
|
|
783
783
|
|
|
784
784
|
___
|
|
785
785
|
|
|
@@ -803,7 +803,7 @@ Accepts an array of Line3D and groups them into arrays of connected lines
|
|
|
803
803
|
|
|
804
804
|
#### Defined in
|
|
805
805
|
|
|
806
|
-
[src/Line3D.ts:511](https://github.com/Immugio/three-math-extensions/blob/
|
|
806
|
+
[src/Line3D.ts:511](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line3D.ts#L511)
|
|
807
807
|
|
|
808
808
|
___
|
|
809
809
|
|
|
@@ -828,4 +828,4 @@ Lines must be parallel for joining.
|
|
|
828
828
|
|
|
829
829
|
#### Defined in
|
|
830
830
|
|
|
831
|
-
[src/Line3D.ts:165](https://github.com/Immugio/three-math-extensions/blob/
|
|
831
|
+
[src/Line3D.ts:165](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Line3D.ts#L165)
|
package/docs/classes/Polygon.md
CHANGED
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
|
|
51
51
|
#### Defined in
|
|
52
52
|
|
|
53
|
-
[src/Polygon.ts:8](https://github.com/Immugio/three-math-extensions/blob/
|
|
53
|
+
[src/Polygon.ts:8](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Polygon.ts#L8)
|
|
54
54
|
|
|
55
55
|
## Properties
|
|
56
56
|
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
|
|
61
61
|
#### Defined in
|
|
62
62
|
|
|
63
|
-
[src/Polygon.ts:8](https://github.com/Immugio/three-math-extensions/blob/
|
|
63
|
+
[src/Polygon.ts:8](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Polygon.ts#L8)
|
|
64
64
|
|
|
65
65
|
___
|
|
66
66
|
|
|
@@ -70,7 +70,7 @@ ___
|
|
|
70
70
|
|
|
71
71
|
#### Defined in
|
|
72
72
|
|
|
73
|
-
[src/Polygon.ts:8](https://github.com/Immugio/three-math-extensions/blob/
|
|
73
|
+
[src/Polygon.ts:8](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Polygon.ts#L8)
|
|
74
74
|
|
|
75
75
|
## Accessors
|
|
76
76
|
|
|
@@ -84,7 +84,7 @@ ___
|
|
|
84
84
|
|
|
85
85
|
#### Defined in
|
|
86
86
|
|
|
87
|
-
[src/Polygon.ts:24](https://github.com/Immugio/three-math-extensions/blob/
|
|
87
|
+
[src/Polygon.ts:24](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Polygon.ts#L24)
|
|
88
88
|
|
|
89
89
|
## Methods
|
|
90
90
|
|
|
@@ -98,7 +98,7 @@ ___
|
|
|
98
98
|
|
|
99
99
|
#### Defined in
|
|
100
100
|
|
|
101
|
-
[src/Polygon.ts:73](https://github.com/Immugio/three-math-extensions/blob/
|
|
101
|
+
[src/Polygon.ts:73](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Polygon.ts#L73)
|
|
102
102
|
|
|
103
103
|
___
|
|
104
104
|
|
|
@@ -112,7 +112,7 @@ ___
|
|
|
112
112
|
|
|
113
113
|
#### Defined in
|
|
114
114
|
|
|
115
|
-
[src/Polygon.ts:48](https://github.com/Immugio/three-math-extensions/blob/
|
|
115
|
+
[src/Polygon.ts:48](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Polygon.ts#L48)
|
|
116
116
|
|
|
117
117
|
___
|
|
118
118
|
|
|
@@ -126,7 +126,7 @@ ___
|
|
|
126
126
|
|
|
127
127
|
#### Defined in
|
|
128
128
|
|
|
129
|
-
[src/Polygon.ts:29](https://github.com/Immugio/three-math-extensions/blob/
|
|
129
|
+
[src/Polygon.ts:29](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Polygon.ts#L29)
|
|
130
130
|
|
|
131
131
|
___
|
|
132
132
|
|
|
@@ -140,7 +140,7 @@ ___
|
|
|
140
140
|
|
|
141
141
|
#### Defined in
|
|
142
142
|
|
|
143
|
-
[src/Polygon.ts:115](https://github.com/Immugio/three-math-extensions/blob/
|
|
143
|
+
[src/Polygon.ts:115](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Polygon.ts#L115)
|
|
144
144
|
|
|
145
145
|
___
|
|
146
146
|
|
|
@@ -154,7 +154,7 @@ ___
|
|
|
154
154
|
|
|
155
155
|
#### Defined in
|
|
156
156
|
|
|
157
|
-
[src/Polygon.ts:57](https://github.com/Immugio/three-math-extensions/blob/
|
|
157
|
+
[src/Polygon.ts:57](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Polygon.ts#L57)
|
|
158
158
|
|
|
159
159
|
___
|
|
160
160
|
|
|
@@ -174,7 +174,7 @@ ___
|
|
|
174
174
|
|
|
175
175
|
#### Defined in
|
|
176
176
|
|
|
177
|
-
[src/Polygon.ts:119](https://github.com/Immugio/three-math-extensions/blob/
|
|
177
|
+
[src/Polygon.ts:119](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Polygon.ts#L119)
|
|
178
178
|
|
|
179
179
|
___
|
|
180
180
|
|
|
@@ -188,7 +188,7 @@ ___
|
|
|
188
188
|
|
|
189
189
|
#### Defined in
|
|
190
190
|
|
|
191
|
-
[src/Polygon.ts:96](https://github.com/Immugio/three-math-extensions/blob/
|
|
191
|
+
[src/Polygon.ts:96](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Polygon.ts#L96)
|
|
192
192
|
|
|
193
193
|
___
|
|
194
194
|
|
|
@@ -202,7 +202,7 @@ ___
|
|
|
202
202
|
|
|
203
203
|
#### Defined in
|
|
204
204
|
|
|
205
|
-
[src/Polygon.ts:86](https://github.com/Immugio/three-math-extensions/blob/
|
|
205
|
+
[src/Polygon.ts:86](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Polygon.ts#L86)
|
|
206
206
|
|
|
207
207
|
___
|
|
208
208
|
|
|
@@ -216,7 +216,7 @@ ___
|
|
|
216
216
|
|
|
217
217
|
#### Defined in
|
|
218
218
|
|
|
219
|
-
[src/Polygon.ts:110](https://github.com/Immugio/three-math-extensions/blob/
|
|
219
|
+
[src/Polygon.ts:110](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Polygon.ts#L110)
|
|
220
220
|
|
|
221
221
|
___
|
|
222
222
|
|
|
@@ -237,7 +237,7 @@ ___
|
|
|
237
237
|
|
|
238
238
|
#### Defined in
|
|
239
239
|
|
|
240
|
-
[src/Polygon.ts:11](https://github.com/Immugio/three-math-extensions/blob/
|
|
240
|
+
[src/Polygon.ts:11](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Polygon.ts#L11)
|
|
241
241
|
|
|
242
242
|
___
|
|
243
243
|
|
|
@@ -258,4 +258,4 @@ ___
|
|
|
258
258
|
|
|
259
259
|
#### Defined in
|
|
260
260
|
|
|
261
|
-
[src/Polygon.ts:15](https://github.com/Immugio/three-math-extensions/blob/
|
|
261
|
+
[src/Polygon.ts:15](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Polygon.ts#L15)
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
|
|
55
55
|
#### Defined in
|
|
56
56
|
|
|
57
|
-
[src/Rectangle.ts:7](https://github.com/Immugio/three-math-extensions/blob/
|
|
57
|
+
[src/Rectangle.ts:7](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Rectangle.ts#L7)
|
|
58
58
|
|
|
59
59
|
## Properties
|
|
60
60
|
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
|
|
65
65
|
#### Defined in
|
|
66
66
|
|
|
67
|
-
[src/Rectangle.ts:7](https://github.com/Immugio/three-math-extensions/blob/
|
|
67
|
+
[src/Rectangle.ts:7](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Rectangle.ts#L7)
|
|
68
68
|
|
|
69
69
|
___
|
|
70
70
|
|
|
@@ -74,7 +74,7 @@ ___
|
|
|
74
74
|
|
|
75
75
|
#### Defined in
|
|
76
76
|
|
|
77
|
-
[src/Rectangle.ts:7](https://github.com/Immugio/three-math-extensions/blob/
|
|
77
|
+
[src/Rectangle.ts:7](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Rectangle.ts#L7)
|
|
78
78
|
|
|
79
79
|
___
|
|
80
80
|
|
|
@@ -84,7 +84,7 @@ ___
|
|
|
84
84
|
|
|
85
85
|
#### Defined in
|
|
86
86
|
|
|
87
|
-
[src/Rectangle.ts:7](https://github.com/Immugio/three-math-extensions/blob/
|
|
87
|
+
[src/Rectangle.ts:7](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Rectangle.ts#L7)
|
|
88
88
|
|
|
89
89
|
___
|
|
90
90
|
|
|
@@ -94,7 +94,7 @@ ___
|
|
|
94
94
|
|
|
95
95
|
#### Defined in
|
|
96
96
|
|
|
97
|
-
[src/Rectangle.ts:7](https://github.com/Immugio/three-math-extensions/blob/
|
|
97
|
+
[src/Rectangle.ts:7](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Rectangle.ts#L7)
|
|
98
98
|
|
|
99
99
|
## Accessors
|
|
100
100
|
|
|
@@ -108,7 +108,7 @@ ___
|
|
|
108
108
|
|
|
109
109
|
#### Defined in
|
|
110
110
|
|
|
111
|
-
[src/Rectangle.ts:20](https://github.com/Immugio/three-math-extensions/blob/
|
|
111
|
+
[src/Rectangle.ts:20](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Rectangle.ts#L20)
|
|
112
112
|
|
|
113
113
|
___
|
|
114
114
|
|
|
@@ -122,7 +122,7 @@ ___
|
|
|
122
122
|
|
|
123
123
|
#### Defined in
|
|
124
124
|
|
|
125
|
-
[src/Rectangle.ts:41](https://github.com/Immugio/three-math-extensions/blob/
|
|
125
|
+
[src/Rectangle.ts:41](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Rectangle.ts#L41)
|
|
126
126
|
|
|
127
127
|
___
|
|
128
128
|
|
|
@@ -136,7 +136,7 @@ ___
|
|
|
136
136
|
|
|
137
137
|
#### Defined in
|
|
138
138
|
|
|
139
|
-
[src/Rectangle.ts:27](https://github.com/Immugio/three-math-extensions/blob/
|
|
139
|
+
[src/Rectangle.ts:27](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Rectangle.ts#L27)
|
|
140
140
|
|
|
141
141
|
___
|
|
142
142
|
|
|
@@ -150,7 +150,7 @@ ___
|
|
|
150
150
|
|
|
151
151
|
#### Defined in
|
|
152
152
|
|
|
153
|
-
[src/Rectangle.ts:13](https://github.com/Immugio/three-math-extensions/blob/
|
|
153
|
+
[src/Rectangle.ts:13](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Rectangle.ts#L13)
|
|
154
154
|
|
|
155
155
|
## Methods
|
|
156
156
|
|
|
@@ -164,7 +164,7 @@ ___
|
|
|
164
164
|
|
|
165
165
|
#### Defined in
|
|
166
166
|
|
|
167
|
-
[src/Rectangle.ts:54](https://github.com/Immugio/three-math-extensions/blob/
|
|
167
|
+
[src/Rectangle.ts:54](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Rectangle.ts#L54)
|
|
168
168
|
|
|
169
169
|
___
|
|
170
170
|
|
|
@@ -178,7 +178,7 @@ ___
|
|
|
178
178
|
|
|
179
179
|
#### Defined in
|
|
180
180
|
|
|
181
|
-
[src/Rectangle.ts:9](https://github.com/Immugio/three-math-extensions/blob/
|
|
181
|
+
[src/Rectangle.ts:9](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Rectangle.ts#L9)
|
|
182
182
|
|
|
183
183
|
___
|
|
184
184
|
|
|
@@ -198,7 +198,7 @@ ___
|
|
|
198
198
|
|
|
199
199
|
#### Defined in
|
|
200
200
|
|
|
201
|
-
[src/Rectangle.ts:90](https://github.com/Immugio/three-math-extensions/blob/
|
|
201
|
+
[src/Rectangle.ts:90](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Rectangle.ts#L90)
|
|
202
202
|
|
|
203
203
|
___
|
|
204
204
|
|
|
@@ -218,7 +218,7 @@ ___
|
|
|
218
218
|
|
|
219
219
|
#### Defined in
|
|
220
220
|
|
|
221
|
-
[src/Rectangle.ts:80](https://github.com/Immugio/three-math-extensions/blob/
|
|
221
|
+
[src/Rectangle.ts:80](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Rectangle.ts#L80)
|
|
222
222
|
|
|
223
223
|
___
|
|
224
224
|
|
|
@@ -238,7 +238,7 @@ ___
|
|
|
238
238
|
|
|
239
239
|
#### Defined in
|
|
240
240
|
|
|
241
|
-
[src/Rectangle.ts:34](https://github.com/Immugio/three-math-extensions/blob/
|
|
241
|
+
[src/Rectangle.ts:34](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Rectangle.ts#L34)
|
|
242
242
|
|
|
243
243
|
___
|
|
244
244
|
|
|
@@ -254,7 +254,7 @@ The polygon is always constructed as "clockwise", assuming X axis to the right a
|
|
|
254
254
|
|
|
255
255
|
#### Defined in
|
|
256
256
|
|
|
257
|
-
[src/Rectangle.ts:71](https://github.com/Immugio/three-math-extensions/blob/
|
|
257
|
+
[src/Rectangle.ts:71](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Rectangle.ts#L71)
|
|
258
258
|
|
|
259
259
|
___
|
|
260
260
|
|
|
@@ -268,7 +268,7 @@ ___
|
|
|
268
268
|
|
|
269
269
|
#### Defined in
|
|
270
270
|
|
|
271
|
-
[src/Rectangle.ts:64](https://github.com/Immugio/three-math-extensions/blob/
|
|
271
|
+
[src/Rectangle.ts:64](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Rectangle.ts#L64)
|
|
272
272
|
|
|
273
273
|
___
|
|
274
274
|
|
|
@@ -288,4 +288,4 @@ ___
|
|
|
288
288
|
|
|
289
289
|
#### Defined in
|
|
290
290
|
|
|
291
|
-
[src/Rectangle.ts:45](https://github.com/Immugio/three-math-extensions/blob/
|
|
291
|
+
[src/Rectangle.ts:45](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Rectangle.ts#L45)
|
package/docs/classes/Size2.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[@immugio/three-math-extensions](
|
|
1
|
+
[@immugio/three-math-extensions](../../README.md) / [Exports](../modules.md) / Size2
|
|
2
2
|
|
|
3
3
|
# Class: Size2
|
|
4
4
|
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
|
|
33
33
|
#### Defined in
|
|
34
34
|
|
|
35
|
-
[src/Size2.ts:2](https://github.com/Immugio/three-math-extensions/blob/
|
|
35
|
+
[src/Size2.ts:2](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Size2.ts#L2)
|
|
36
36
|
|
|
37
37
|
## Properties
|
|
38
38
|
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
|
|
43
43
|
#### Defined in
|
|
44
44
|
|
|
45
|
-
[src/Size2.ts:2](https://github.com/Immugio/three-math-extensions/blob/
|
|
45
|
+
[src/Size2.ts:2](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Size2.ts#L2)
|
|
46
46
|
|
|
47
47
|
___
|
|
48
48
|
|
|
@@ -52,4 +52,4 @@ ___
|
|
|
52
52
|
|
|
53
53
|
#### Defined in
|
|
54
54
|
|
|
55
|
-
[src/Size2.ts:2](https://github.com/Immugio/three-math-extensions/blob/
|
|
55
|
+
[src/Size2.ts:2](https://github.com/Immugio/three-math-extensions/blob/336678b/src/Size2.ts#L2)
|