Files
Python/geometry
Jeel Gajeraandpre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> a79cd96598 chore(geometry): add angle conversion, ellipse eccentricity, polygon geometry, and triangle class (#13447)
* chore(geometry): add angle conversion, ellipse eccentricity, polygon geometry, and triangle class

- Added `Angle.to_radians()` and `Angle.from_radians()` for degree-radian conversion.
- Improved `Ellipse.perimeter` with Ramanujan’s approximation and added `eccentricity` property.
- Enhanced `Polygon` with vertex generation, perimeter, and area computation.
- Updated `Rectangle` to construct all four sides and support complete vertex/area logic.
- Introduced new `Triangle` class with validation, perimeter, and Heron’s area formula.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2026-09-14 23:17:59 +02:00
..
2024-04-02 21:13:56 +02:00
2026-09-13 08:00:52 +02:00