code: function ECPointFp(curve,x,y,z) {
      this.curve = curve;
      this.x = x;
      this.y = y;
      // Projective coordinates: either zinv == null or z * zinv == 1
      // z and zinv are just BigIntegers, not fieldElements
      if(z == null) {
        this.z = BigInteger.ONE;
      }
      else {
        this.z = z;
      }
      this.zinv = null;
      //TODO: compression flag
  }
docs: ---------------- ECPointFp constructor