/usr/include/ossim/vpfutil/vpfprim.h is in libossim-dev 1.8.16-4ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 | #ifndef VPFPRIM_HEADER
#define VPFPRIM_HEADER
#ifdef __cplusplus
extern "C" {
#endif
/********************************************************************/
/* VPFPRIM.H */
/********************************************************************/
/* Must include "vpftable.h" */
/* VPF edge record internal structure */
typedef struct {
ossim_int32 id;
ossim_int32 start;
ossim_int32 end;
ossim_int32 right;
ossim_int32 left;
ossim_int32 rightfwd;
ossim_int32 leftfwd;
char dir;
ossim_int32 npts;
coordinate_type *coord;
/* New as of 2/18/92 for coordinate arrays too large for memory */
FILE *fp;
ossim_int32 startpos, pos, current_coordinate;
char coord_type;
} edge_rec_type;
/* "static" part of the edge record (non-variable) */
typedef struct {
ossim_int32 id;
ossim_int32 start;
ossim_int32 end;
ossim_int32 right;
ossim_int32 left;
ossim_int32 rightfwd;
ossim_int32 leftfwd;
char dir;
ossim_int32 npts;
} edge_static_type;
/* VPF face record structure */
typedef struct {
ossim_int32 id;
ossim_int32 ring;
} face_rec_type;
/* VPF ring record structure */
typedef struct {
ossim_int32 id;
ossim_int32 face;
ossim_int32 edge;
} ring_rec_type;
/* VPF entity node record internal structure */
typedef struct {
ossim_int32 id;
ossim_int32 face;
float x;
float y;
} point_rec_type;
/* VPF annotation record internal structure */
typedef struct {
long int id;
float height;
char *text;
float x;
float y;
} anno_rec_type;
/* Functions: */
edge_rec_type create_edge_rec( row_type row, vpf_table_type edge_table );
edge_rec_type read_edge( ossim_int32 id,
vpf_table_type edge_table );
edge_rec_type read_next_edge( vpf_table_type edge_table );
/* New as of 2/18/92 for coordinate arrays too large for memory */
coordinate_type first_edge_coordinate( edge_rec_type *edge_rec );
coordinate_type next_edge_coordinate( edge_rec_type *edge_rec );
coordinate_type get_edge_coordinate( ossim_int32 n,
edge_rec_type *edge_rec );
/***/
face_rec_type read_face( ossim_int32 id,
vpf_table_type face_table );
face_rec_type read_next_face( vpf_table_type face_table );
ring_rec_type read_ring( ossim_int32 id,
vpf_table_type ring_table );
ring_rec_type read_next_ring( vpf_table_type ring_table );
point_rec_type read_point( ossim_int32 id,
vpf_table_type point_table );
point_rec_type read_next_point( vpf_table_type point_table );
anno_rec_type read_anno( ossim_int32 id,
vpf_table_type anno_table );
anno_rec_type read_next_anno( vpf_table_type anno_table );
#ifdef __cplusplus
}
#endif
#endif
|