Definition at line 120 of file cu_algorithm.c.
121{
122
123#define setpoint(p, x1, y1) {(p).x = (x1); (p).y = (y1);}
124
126
127
133
134
140
141
147
148
154
155
161
162
168
169
175
176
182
183
189
190
196
197
203
204
210
211
217
218
224
225
231
232
238
239
245
246
252
253
259
260}
#define setpoint(p, x1, y1)
int lw_segment_intersects(const POINT2D *p1, const POINT2D *p2, const POINT2D *q1, const POINT2D *q2)
returns the kind of CG_SEGMENT_INTERSECTION_TYPE behavior of lineseg 1 (constructed from p1 and p2) a...
References lw_segment_intersects(), SEG_COLINEAR, SEG_CROSS_LEFT, SEG_CROSS_RIGHT, SEG_NO_INTERSECTION, setpoint, POINT2D::x, and POINT2D::y.
Referenced by algorithms_suite_setup().