Go to the documentation of this file.
29 float len = length ();
31 if (len < 0.0000000001) {
43 int max_extent =
MAX(abs(x), abs(y));
52 static int sign(
int x) {
61 if (fwrite(&
xcoord,
sizeof(
xcoord), 1, fp) != 1)
return false;
62 if (fwrite(&
ycoord,
sizeof(
ycoord), 1, fp) != 1)
return false;
68 if (fread(&
xcoord,
sizeof(
xcoord), 1, fp) != 1)
return false;
69 if (fread(&
ycoord,
sizeof(
ycoord), 1, fp) != 1)
return false;
84 int* major,
int* minor)
const {