@mathigon/euclid
Advanced tools
Comparing version 1.1.13 to 1.1.14
@@ -34,2 +34,4 @@ import { Bounds } from './bounds'; | ||
offset(p: Point): number; | ||
cut(line: Line): Polygon[]; | ||
get oriented(): Polygon; | ||
transform(m: TransformMatrix): Polygon; | ||
@@ -36,0 +38,0 @@ /** Rotates this rectangle by a given angle (in radians), optionally around point `c`. */ |
{ | ||
"name": "@mathigon/euclid", | ||
"version": "1.1.13", | ||
"version": "1.1.14", | ||
"license": "MIT", | ||
@@ -35,4 +35,4 @@ "homepage": "https://mathigon.io/euclid", | ||
"dependencies": { | ||
"@mathigon/core": "1.1.11", | ||
"@mathigon/fermat": "1.1.10" | ||
"@mathigon/core": "1.1.12", | ||
"@mathigon/fermat": "1.1.11" | ||
}, | ||
@@ -43,10 +43,10 @@ "devDependencies": { | ||
"@typescript-eslint/parser": "6.4.0", | ||
"esbuild": "0.18.17", | ||
"eslint": "8.47.0", | ||
"eslint-plugin-import": "2.28.0", | ||
"esbuild": "0.19.2", | ||
"eslint": "8.48.0", | ||
"eslint-plugin-import": "2.28.1", | ||
"tape": "5.6.6", | ||
"ts-node": "10.9.1", | ||
"tslib": "2.6.2", | ||
"typescript": "5.1.6" | ||
"typescript": "5.2.2" | ||
} | ||
} |
@@ -121,2 +121,10 @@ // ============================================================================= | ||
cut(line: Line) { | ||
return this.polygon.cut(line); | ||
} | ||
get oriented() { | ||
return this.polygon.oriented; | ||
} | ||
// --------------------------------------------------------------------------- | ||
@@ -123,0 +131,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
562562
7536
+ Added@mathigon/core@1.1.12(transitive)
+ Added@mathigon/fermat@1.1.11(transitive)
- Removed@mathigon/core@1.1.11(transitive)
- Removed@mathigon/fermat@1.1.10(transitive)
Updated@mathigon/core@1.1.12
Updated@mathigon/fermat@1.1.11