shithub: asif

ref: e66c8868c7cf48c23f2c49e2bb933784a1a02d6d
dir: /graph/graph.h/

View raw version
typedef struct Vertex Vertex;
typedef struct Vectangle Vectangle;
struct Vertex{
	int x;
	int y;
};
struct Vectangle{
	Vertex min;
	Vertex max;
};

Vertex	V(int, int);
Vectangle	V²(int, int, int, int);
Vectangle	toV²(Vertex, Vertex);
Vertex	ΔV(Vertex, Vertex);
Vertex	∑V(Vertex, Vertex);
int	V∩V²(Vertex, Vectangle);