[wpimath] Mark all geometry classes as final (#8790)

In Java, these are likely to become value classes in the future.

Make C++ final for consistency.
This commit is contained in:
Gold856
2026-04-24 01:55:54 -04:00
committed by GitHub
parent 1586dcf385
commit d893d44e37
82 changed files with 84 additions and 82 deletions

View File

@@ -23,7 +23,7 @@ namespace wpi::math {
* Represents a 2d ellipse space containing translational, rotational, and
* scaling components.
*/
class WPILIB_DLLEXPORT Ellipse2d {
class WPILIB_DLLEXPORT Ellipse2d final {
public:
/**
* Constructs an ellipse around a center point and two semi-axes, a horizontal