shithub: asif

ref: e3f2bce8fd80c286f2dba6d063ad1df4d2d0e51d
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);