How do I make a class where an instance can be built from various representations?

前端 未结 0 1398
悲哀的现实
悲哀的现实 2021-02-02 12:35

For example, if I want to make a class for bounding boxes, how can I write it so that it can be initialized using center, dimensions and rotation or exterior_points? I want to b

相关标签:
回答
  • 消灭零回复
提交回复
热议问题