Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc503564

Browse files
author
Thomas G. Lockhart
committed
Use better routines from geometry library.
1 parent840ea24 commitc503564

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

‎src/test/regress/regress.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* $Header: /cvsroot/pgsql/src/test/regress/regress.c,v 1.6 1997/04/22 17:33:00 scrappy Exp $
2+
* $Header: /cvsroot/pgsql/src/test/regress/regress.c,v 1.7 1997/07/29 16:21:12 thomas Exp $
33
*/
44

55
#include<float.h>/* faked on sunos */
@@ -128,7 +128,9 @@ interpt_pp(p1,p2)
128128
Point*retval;
129129
inti,j;
130130
LSEGseg1,seg2;
131+
#ifFALSE
131132
LINE*ln;
133+
#endif
132134
boolfound;/* We've found the intersection */
133135

134136
found= false;/* Haven't found it yet */
@@ -141,8 +143,11 @@ interpt_pp(p1,p2)
141143
if (lseg_intersect(&seg1,&seg2))found= true;
142144
}
143145

146+
#ifFALSE
144147
ln=line_construct_pp(&seg2.p[0],&seg2.p[1]);
145148
retval=interpt_sl(&seg1,ln);
149+
#endif
150+
retval=lseg_interpt(&seg1,&seg2);
146151

147152
return(retval);
148153
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp