You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
val rotatedRect = new RotatedRect(
new Point2f(100, 100),
new Size2f(100, 100),
45
)
val point = new Point2f()
rotatedRect.points(point)
I would expect rotatedRect.points to accept Array[Point2f] or Point2fVector as a parameter, instead, Point2f is accepted. This seems like an oversight and results in a crash if Point2f is provided.
Maybe I'm doing something wrong?
The text was updated successfully, but these errors were encountered:
I would expect
rotatedRect.points
to acceptArray[Point2f]
orPoint2fVector
as a parameter, instead,Point2f
is accepted. This seems like an oversight and results in a crash ifPoint2f
is provided.Maybe I'm doing something wrong?
The text was updated successfully, but these errors were encountered: