15 lines
336 B
C++
15 lines
336 B
C++
#include <bits/stdc++.h>
|
|
#include "geometry.h"
|
|
|
|
using namespace std;
|
|
|
|
mt19937 rnd(chrono::steady_clock::now().time_since_epoch().count());
|
|
|
|
int main() {
|
|
Polygon p(Point(0, 0), Point(0, 1), Point(1, 2), Point(2, 0));
|
|
Polygon q(Point(0, 0), Point(2, 0), Point(1, 2), Point(0, 1));
|
|
|
|
cout << p.isCongruentTo(q) << endl;
|
|
return 0;
|
|
}
|