## Uses of Classorg.openimaj.math.geometry.shape.RotatedRectangle

• Packages that use RotatedRectangle
Package Description
org.openimaj.image.pixel
org.openimaj.math.geometry.shape
org.openimaj.math.geometry.shape.util
• ### Uses of RotatedRectangle in org.openimaj.image.pixel

Methods in org.openimaj.image.pixel that return RotatedRectangle
Modifier and Type Method and Description
`RotatedRectangle` ConnectedComponent.`calculateOrientatedBoundingBox()`
Calculates the polygon that defines the minimum bounding box that best fits the connected component, at whatever angle that may be.
• ### Uses of RotatedRectangle in org.openimaj.math.geometry.shape

Methods in org.openimaj.math.geometry.shape that return RotatedRectangle
Modifier and Type Method and Description
`RotatedRectangle` RotatedRectangle.`clone()`
`RotatedRectangle` RotatedRectangle.`minimumBoundingRectangle()`
`RotatedRectangle` Rectangle.`minimumBoundingRectangle()`
`RotatedRectangle` Triangle.`minimumBoundingRectangle()`
`RotatedRectangle` Circle.`minimumBoundingRectangle()`
`RotatedRectangle` Polygon.`minimumBoundingRectangle()`
Compute the minimum size rotated bounding rectangle that contains this shape using the rotating calipers approach.
`RotatedRectangle` Shape.`minimumBoundingRectangle()`
Compute the minimum size rotated bounding rectangle that contains this shape.
`RotatedRectangle` Ellipse.`minimumBoundingRectangle()`
`RotatedRectangle` Polygon.`minimumBoundingRectangle(boolean assumeSimple)`
Compute the minimum size rotated bounding rectangle that contains this shape using the rotating calipers approach.
`RotatedRectangle` Rectangle.```rotate(Point2d p, double angle)```
Rotate the `Rectangle` about the given pivot with the given angle (in radians)
• ### Uses of RotatedRectangle in org.openimaj.math.geometry.shape.util

Methods in org.openimaj.math.geometry.shape.util that return RotatedRectangle
Modifier and Type Method and Description
`static RotatedRectangle` RotatingCalipers.```getMinimumBoundingRectangle(Polygon poly, boolean assumeSimple)```
Use the rotating calipers algorithm to optimally find the minimum sized rotated rectangle that encompasses the outer shell of the given polygon.