@mathigon/euclid
Advanced tools
Comparing version 0.6.0 to 0.6.1
@@ -942,2 +942,3 @@ 'use strict'; | ||
} | ||
/** Creates the smallest rectangle containing all given points. */ | ||
static aroundPoints(...points) { | ||
@@ -944,0 +945,0 @@ const xs = points.map(p => p.x); |
@@ -938,2 +938,3 @@ import { mod, nearlyEquals, clamp, roundTo, square, lerp, isBetween, subsets, quadratic } from '@mathigon/fermat'; | ||
} | ||
/** Creates the smallest rectangle containing all given points. */ | ||
static aroundPoints(...points) { | ||
@@ -940,0 +941,0 @@ const xs = points.map(p => p.x); |
{ | ||
"name": "@mathigon/euclid", | ||
"version": "0.6.0", | ||
"version": "0.6.1", | ||
"description": "Euclidean geometry classes and tools for JavaScript.", | ||
@@ -31,3 +31,3 @@ "keywords": [ | ||
"@mathigon/core": "^0.5.2", | ||
"@mathigon/fermat": "^0.5.2" | ||
"@mathigon/fermat": "^0.6.0" | ||
}, | ||
@@ -34,0 +34,0 @@ "devDependencies": { |
@@ -43,3 +43,3 @@ # Euclid.ts | ||
```js | ||
import {Complex, gcd} from '@mathigon/euclid' | ||
import {Point, Line} from '@mathigon/euclid' | ||
``` | ||
@@ -46,0 +46,0 @@ |
@@ -20,2 +20,3 @@ // ============================================================================= | ||
/** Creates the smallest rectangle containing all given points. */ | ||
static aroundPoints(...points: Point[]) { | ||
@@ -22,0 +23,0 @@ const xs = points.map(p => p.x); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
149750
4189
+ Added@mathigon/core@0.6.8(transitive)
+ Added@mathigon/fermat@0.6.6(transitive)
- Removed@mathigon/fermat@0.5.5(transitive)
Updated@mathigon/fermat@^0.6.0