1 |
– |
/* Copyright (c) 1986 Regents of the University of California */ |
2 |
– |
|
1 |
|
#ifndef lint |
2 |
< |
static char SCCSid[] = "$SunId$ LBL"; |
2 |
> |
static const char RCSid[] = "$Id$"; |
3 |
|
#endif |
6 |
– |
|
4 |
|
/* |
5 |
|
* plocate.c - routine to locate 3D vector w.r.t. box. |
9 |
– |
* |
10 |
– |
* 8/28/85 |
6 |
|
*/ |
7 |
|
|
8 |
+ |
#include "copyright.h" |
9 |
+ |
|
10 |
+ |
#include "fvect.h" |
11 |
+ |
|
12 |
|
#include "plocate.h" |
13 |
|
|
14 |
|
|
15 |
|
int |
16 |
|
plocate(p, min, max) /* return location of p w.r.t. min & max */ |
17 |
< |
register double p[3]; |
18 |
< |
double min[3], max[3]; |
17 |
> |
register FVECT p; |
18 |
> |
FVECT min, max; |
19 |
|
{ |
20 |
|
register int loc = 0; |
21 |
|
|