const Curve({ required this.p, required this.n, required this.a, required this.b, required this.gx, required this.gy, });