Skip to content

Conversation

SuhaniChavan-26
Copy link

This PR implements the Rotating Calipers algorithm under the geometry package, as requested in issue #6672.

Changes include:

  • RotatingCalipers.java: Main implementation of the algorithm, including methods for diameter, width, and minimum-area bounding rectangle of a convex polygon.
  • RotatingCalipersTest.java: Unit tests using JUnit 5 covering simple and edge cases.

Both files are placed under the correct package com.thealgorithms.geometry and follow the repository's coding conventions.

This addresses issue #6672.

@DenizAltunkapan
Copy link
Member

@SuhaniChavan-26 Please fix the failing workflows so I can start the review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants