poohbar
class Line(a: Point2D, b: Point2d) : Path() { // where to put logic to initialize the Line object? }