curvepy issueshttps://gitlab.gwdg.de/numerikgang/curvepy/-/issues2021-10-17T08:35:19Zhttps://gitlab.gwdg.de/numerikgang/curvepy/-/issues/26AbstractBezierCurve.box can be used uninitialized2021-10-17T08:35:19ZLars QuentinAbstractBezierCurve.box can be used uninitializedInitialized in `AbstractBezierCurve.__init__`, the `box` attribute is public but lazily generated iff `min_max_box()` (or `curve`) got called before. This is bad, especially if someone wants to use `box_collision_check`.
Although `mix_m...Initialized in `AbstractBezierCurve.__init__`, the `box` attribute is public but lazily generated iff `min_max_box()` (or `curve`) got called before. This is bad, especially if someone wants to use `box_collision_check`.
Although `mix_max_box()` just has to be computed once since it's Complexity is `nlogn` I'd prefer to have it lazy.
I recommend to solve it analogously to #20 with `@cached_property`