33 int wcmp(
const void* e1,
const void* e2);
Defines a structure representing a point in the Cartesian space, and a function to compute the square...
Structure representing a point in the cartesian space.
Definition: point.h:12
Stores the starting and ending positions of a wire together with its centroid position and total leng...
Definition: wire.h:20
point start_edge
Position of one of the edges of the wire.
Definition: wire.h:22
point end_edge
Position of one of the edges of the wire.
Definition: wire.h:23
double length
Total length of the wire.
Definition: wire.h:24
point centroid
Position of the centroid of the wire.
Definition: wire.h:21
int wcmp(const void *e1, const void *e2)
Compares two nanowires according to their length.
Definition: wire.c:3