Returns if the point is equal to the provided point.
The point to compare with.
true
if the points are equal, false
otherwise.
Checks if the point is valid.
true
if the point is valid, false
otherwise.
Returns the underlying C++ object, transferring ownership from this instance to the caller.
The underlying object of the instance.
Serializes the instance to a hexadecimal string.
A hexadecimal string representation of the instance.
Returns the size of the underlying C++ object.
The size of the underlying C++ object in bytes.
Returns a string representation of the instance.
A string representation of the instance.
Returnsthe underlying C++ object.
The underlying C++ object.
Static
baseReturns the base point of the BLS12-381 G1 curve.
The base point of the BLS12-381 G1 curve.
Static
deserializeStatic
fromConstucts a new instance using the provided object.
The object to use for the new instance.
A new instance of the class.
Static
fromConstructs a new instance using the provided object and size.
The object to use for the new instance.
The size of the object.
A new instance of the class.
Static
fromStatic
random
Represents an element in the BLS12-381 G1 curve group. A wrapper of MclG1Pointin navio-core.
Instantiating a Point object without a parameter returns a random point. Examples: