libcrtxy geometry
[The CRT X-Y library (libcrtxy)]


Modules

 Line collection manipulation.
 Intersection tests.

Data Structures

struct  XY_line
 XY_line - libcrtxy structure representing a single line. More...
struct  XY_lines
 XY_lines - libcrtxy structure representing a group of lines. More...

Defines

#define XY_THIN   XY_FIXED_ONE
 Minimum line thickness.

Enumerations

enum  XY_intersection {
  XY_INTERSECTION_NONE,
  XY_INTERSECTION_INTERSECTING,
  XY_INTERSECTION_PARALLEL,
  XY_INTERSECTION_COINCIDENT
}
 XY_intersection - libcrtxy line intersection results. More...

Detailed Description

Todo:
Add inside-polygon test
Todo:
Add distance calculator
Todo:
Add wrapped lines to a group (a la Asteroids)
Todo:
Clip lines in a group

Define Documentation

#define XY_THIN   XY_FIXED_ONE

Minimum line thickness.


Enumeration Type Documentation

XY_intersection - libcrtxy line intersection results.

Enumerator:
XY_INTERSECTION_NONE  Lines do not intersect and are not parallel.
XY_INTERSECTION_INTERSECTING  Lines intersect at a point.
XY_INTERSECTION_PARALLEL  Lines are parallel (do not intersect).
XY_INTERSECTION_COINCIDENT  Lines are coincident (and, hence, intersect).


Generated on Tue Sep 2 23:45:36 2008 for libcrtxy by  doxygen 1.5.5