tinyows 1.2.2
ows_bbox.c File Reference
#include <stdlib.h>
#include <stdio.h>
#include <assert.h>
#include <float.h>
#include <string.h>
#include <math.h>
#include "ows.h"
Include dependency graph for ows_bbox.c:

Go to the source code of this file.

Functions

ows_bboxows_bbox_init ()
 
void ows_bbox_free (ows_bbox *b)
 
bool ows_bbox_set (ows *o, ows_bbox *b, double xmin, double ymin, double xmax, double ymax, int srid)
 
bool ows_bbox_set_from_str (ows *o, ows_bbox *bb, const char *str, int srid, bool honours_authority_axis_order_if_no_explicit_srs)
 
ows_bboxows_bbox_boundaries (ows *o, list *from, list *where, ows_srs *srs)
 
bool ows_bbox_transform (ows *o, ows_bbox *bb, int srid)
 
bool ows_bbox_set_from_geobbox (ows *o, ows_bbox *bb, ows_geobbox *geo)
 
void ows_bbox_to_query (ows *o, ows_bbox *bbox, buffer *query)
 

Function Documentation

◆ ows_bbox_boundaries()

◆ ows_bbox_free()

void ows_bbox_free ( ows_bbox b)

Definition at line 58 of file ows_bbox.c.

References ows_srs_free(), and Ows_bbox::srs.

Referenced by fe_envelope(), ows_geobbox_compute(), ows_geobbox_set_from_str(), wfs_gml_display_results(), wfs_request_free(), and wfs_retrieve_sql_request_list().

Here is the call graph for this function:

◆ ows_bbox_init()

◆ ows_bbox_set()

bool ows_bbox_set ( ows o,
ows_bbox b,
double  xmin,
double  ymin,
double  xmax,
double  ymax,
int  srid 
)

Definition at line 71 of file ows_bbox.c.

References ows_srs_set_from_srid(), ows_srs_set_geobbox(), Ows_bbox::srs, Ows_bbox::xmax, Ows_bbox::xmin, Ows_bbox::ymax, and Ows_bbox::ymin.

Referenced by fe_envelope(), ows_bbox_set_from_str(), and ows_geobbox_compute().

Here is the call graph for this function:

◆ ows_bbox_set_from_geobbox()

bool ows_bbox_set_from_geobbox ( ows o,
ows_bbox bb,
ows_geobbox geo 
)

◆ ows_bbox_set_from_str()

bool ows_bbox_set_from_str ( ows o,
ows_bbox bb,
const char *  str,
int  srid,
bool  honours_authority_axis_order_if_no_explicit_srs 
)

◆ ows_bbox_to_query()

◆ ows_bbox_transform()

bool ows_bbox_transform ( ows o,
ows_bbox bb,
int  srid 
)

Generated for tinyows by doxygen 1.9.7