ProjectiveECCPoint constructor
ProjectiveECCPoint({})
Constructs a ProjectiveECCPoint from the given coordinates and optional order and generator flag.
The curve
parameter specifies the elliptic curve.
x
, y
, and z
are the projective coordinates of the point.
order
is the order of the point, and generator
indicates if the point is a generator.
Implementation
factory ProjectiveECCPoint(
{required CurveFp curve,
required BigInt x,
required BigInt y,
required BigInt z,
BigInt? order,
bool generator = false}) {
final coords = [x, y, z];
return ProjectiveECCPoint._(curve, coords,
generator: generator, order: order);
}