/usr/include/libchamplain-0.12/champlain/champlain-bounding-box.h is in libchamplain-0.12-dev 0.12.13-1.
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 | /*
* Copyright (C) 2009 Simon Wenner <simon@wenner.ch>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#if !defined (__CHAMPLAIN_CHAMPLAIN_H_INSIDE__) && !defined (CHAMPLAIN_COMPILATION)
#error "Only <champlain/champlain.h> can be included directly."
#endif
#ifndef CHAMPLAIN_BOUNDING_BOX_H
#define CHAMPLAIN_BOUNDING_BOX_H
#include <glib-object.h>
G_BEGIN_DECLS
typedef struct _ChamplainBoundingBox ChamplainBoundingBox;
#define CHAMPLAIN_BOUNDING_BOX(obj) ((ChamplainBoundingBox *) (obj))
/**
* ChamplainBoundingBox:
* @left: left coordinate
* @top: top coordinate
* @right: right coordinate
* @bottom: bottom coordinate
*
* Defines the area of a ChamplainMapDataSource that contains data.
*
* Since: 0.6
*/
struct _ChamplainBoundingBox
{
/*< public >*/
gdouble left;
gdouble top;
gdouble right;
gdouble bottom;
};
GType champlain_bounding_box_get_type (void) G_GNUC_CONST;
#define CHAMPLAIN_TYPE_BOUNDING_BOX (champlain_bounding_box_get_type ())
ChamplainBoundingBox *champlain_bounding_box_new (void);
ChamplainBoundingBox *champlain_bounding_box_copy (const ChamplainBoundingBox *bbox);
void champlain_bounding_box_free (ChamplainBoundingBox *bbox);
void champlain_bounding_box_get_center (ChamplainBoundingBox *bbox,
gdouble *latitude,
gdouble *longitude);
void champlain_bounding_box_compose (ChamplainBoundingBox *bbox,
ChamplainBoundingBox *other);
void champlain_bounding_box_extend (ChamplainBoundingBox *bbox,
gdouble latitude,
gdouble longitude);
gboolean champlain_bounding_box_is_valid (ChamplainBoundingBox *bbox);
gboolean champlain_bounding_box_covers(ChamplainBoundingBox *bbox,
gdouble latitude,
gdouble longitude);
G_END_DECLS
#endif
|