Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 9afe033

Browse files
author
Thomas G. Lockhart
committed
Make lines more visible to the user.
1 parent 14257ee commit 9afe033

File tree

1 file changed

+18
-6
lines changed

1 file changed

+18
-6
lines changed

src/include/utils/geo_decls.h

+18-6
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Copyright (c) 1994, Regents of the University of California
77
*
8-
* $Id: geo_decls.h,v 1.19 1998/02/26 04:44:00 momjian Exp $
8+
* $Id: geo_decls.h,v 1.20 1998/05/09 22:44:38 thomas Exp $
99
*
1010
* NOTE
1111
* These routines do *not* use the float types from adt/.
@@ -175,6 +175,7 @@ extern bool lseg_lt(LSEG *l1, LSEG *l2);
175175
extern bool lseg_le(LSEG *l1, LSEG *l2);
176176
extern bool lseg_gt(LSEG *l1, LSEG *l2);
177177
extern bool lseg_ge(LSEG *l1, LSEG *l2);
178+
extern LSEG *lseg_construct(Point *pt1, Point *pt2);
178179
extern double *lseg_length(LSEG *lseg);
179180
extern double *lseg_distance(LSEG *l1, LSEG *l2);
180181
extern Point *lseg_center(LSEG *lseg);
@@ -204,8 +205,22 @@ extern bool inter_sl(LSEG *lseg, LINE *line);
204205
extern bool inter_sb(LSEG *lseg, BOX *box);
205206
extern bool inter_lb(LINE *line, BOX *box);
206207

207-
/* private routines */
208-
extern LSEG *lseg_construct(Point *pt1, Point *pt2);
208+
/* private lseg routines */
209+
210+
/* public line routines */
211+
extern LINE *line_in(char *str);
212+
extern char *line_out(LINE *line);
213+
extern Point *line_interpt(LINE *l1, LINE *l2);
214+
extern double *line_distance(LINE *l1, LINE *l2);
215+
extern LINE *line_construct_pp(Point *pt1, Point *pt2);
216+
extern bool line_intersect(LINE *l1, LINE *l2);
217+
extern bool line_parallel(LINE *l1, LINE *l2);
218+
extern bool line_perp(LINE *l1, LINE *l2);
219+
extern bool line_vertical(LINE *line);
220+
extern bool line_horizontal(LINE *line);
221+
extern bool line_eq(LINE *l1, LINE *l2);
222+
223+
/* private line routines */
209224

210225
/* public box routines */
211226
extern BOX *box_in(char *str);
@@ -244,9 +259,6 @@ extern BOX *box_sub(BOX *box, Point *p);
244259
extern BOX *box_mul(BOX *box, Point *p);
245260
extern BOX *box_div(BOX *box, Point *p);
246261

247-
/* private line routines */
248-
extern double *line_distance(LINE *l1, LINE *l2);
249-
250262
/* public path routines */
251263
extern PATH *path_in(char *str);
252264
extern char *path_out(PATH *path);

0 commit comments

Comments
 (0)