mirror of
https://github.com/albertobsd/keyhunt.git
synced 2025-03-17 13:21:46 +01:00
47 lines
1.1 KiB
C++
47 lines
1.1 KiB
C++
/*
|
|
* This file is part of the BSGS distribution (https://github.com/JeanLucPons/BSGS).
|
|
* Copyright (c) 2020 Jean Luc PONS.
|
|
*
|
|
* This program is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation, version 3.
|
|
*
|
|
* This program is distributed in the hope that it will be useful, but
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#ifndef POINTH
|
|
#define POINTH
|
|
|
|
#include "Int.h"
|
|
|
|
class Point {
|
|
|
|
public:
|
|
|
|
Point();
|
|
Point(Int *cx,Int *cy,Int *cz);
|
|
Point(Int *cx, Int *cz);
|
|
Point(const Point &p);
|
|
~Point();
|
|
bool isZero();
|
|
bool equals(Point &p);
|
|
void Set(Point &p);
|
|
void Set(Int *cx, Int *cy,Int *cz);
|
|
void Clear();
|
|
void Reduce();
|
|
//std::string toString();
|
|
|
|
Int x;
|
|
Int y;
|
|
Int z;
|
|
|
|
};
|
|
|
|
#endif // POINTH
|