MobilityDB 1.1
tnpoint_tempspatialrels.h
Go to the documentation of this file.
1/*****************************************************************************
2 *
3 * This MobilityDB code is provided under The PostgreSQL License.
4 * Copyright (c) 2016-2023, Université libre de Bruxelles and MobilityDB
5 * contributors
6 *
7 * MobilityDB includes portions of PostGIS version 3 source code released
8 * under the GNU General Public License (GPLv2 or later).
9 * Copyright (c) 2001-2023, PostGIS contributors
10 *
11 * Permission to use, copy, modify, and distribute this software and its
12 * documentation for any purpose, without fee, and without a written
13 * agreement is hereby granted, provided that the above copyright notice and
14 * this paragraph and the following two paragraphs appear in all copies.
15 *
16 * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR
17 * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING
18 * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION,
19 * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY
20 * OF SUCH DAMAGE.
21 *
22 * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES,
23 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
24 * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON
25 * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO
26 * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. 
27 *
28 *****************************************************************************/
29
34#ifndef __TNPOINT_TEMPSPATIALRELS_H__
35#define __TNPOINT_TEMPSPATIALRELS_H__
36
37/* PostgreSQL */
38#include <postgres.h>
39/* MEOS */
40#include "general/temporal.h"
41#include "npoint/tnpoint_static.h"
42
43/*****************************************************************************/
44
46 const Npoint *np, bool tinter, bool restr, bool atvalue);
47extern Temporal *tinterrel_tnpoint_geo(const Temporal *temp,
48 const GSERIALIZED *geo, bool tinter, bool restr, bool atvalue);
49
51 bool restr, bool atvalue);
52extern Temporal *ttouches_tnpoint_geo(const Temporal *temp,
53 const GSERIALIZED *geo, bool restr, bool atvalue);
55 const Temporal *temp, bool restr, bool atvalue);
56extern Temporal *ttouches_tnpoint_npoint(const Temporal *temp,
57 const Npoint *np, bool restr, bool atvalue);
59 const Temporal *temp, bool restr, bool atvalue);
61 double dist, bool restr, bool atvalue);
63 double dist, bool restr, bool atvalue);
65 double dist, bool restr, bool atvalue);
67 double dist, bool restr, bool atvalue);
69 double dist, bool restr, bool atvalue);
70
71
72/*****************************************************************************/
73
74#endif /* __TNPOINT_TEMPSPATIALRELS_H__ */
Definition: postgis_ext_defs.in.h:139
Functions for temporal network points.
Definition: tnpoint.h:50
Structure to represent the common structure of temporal values of any temporal subtype.
Definition: meos.h:136
Temporal * tinterrel_tnpoint_geo(const Temporal *temp, const GSERIALIZED *geo, bool tinter, bool restr, bool atvalue)
Return the temporal disjoint/intersection relationship between the temporal network point and the geo...
Definition: tnpoint_tempspatialrels.c:74
Temporal * tdwithin_geo_tnpoint(GSERIALIZED *gs, Temporal *temp, double dist, bool restr, bool atvalue)
Return a temporal Boolean that states whether the geometry and the temporal network point are within ...
Definition: tnpoint_tempspatialrels.c:185
Temporal * tdwithin_tnpoint_npoint(Temporal *temp, Npoint *np, double dist, bool restr, bool atvalue)
Return a temporal Boolean that states whether the network point and the temporal network point are wi...
Definition: tnpoint_tempspatialrels.c:196
Temporal * tinterrel_tnpoint_npoint(const Temporal *temp, const Npoint *np, bool tinter, bool restr, bool atvalue)
Temporal spatial relationships for temporal network points.
Definition: tnpoint_tempspatialrels.c:55
Temporal * ttouches_geo_tnpoint(const GSERIALIZED *geo, const Temporal *temp, bool restr, bool atvalue)
Return the temporal touches relationship between the temporal network point and the geometry.
Definition: tnpoint_tempspatialrels.c:129
Temporal * ttouches_npoint_tnpoint(const Npoint *np, const Temporal *temp, bool restr, bool atvalue)
Return the temporal touches relationship between the temporal network point and the network point.
Definition: tnpoint_tempspatialrels.c:158
Temporal * ttouches_tnpoint_geo(const Temporal *temp, const GSERIALIZED *geo, bool restr, bool atvalue)
Return the temporal touches relationship between the temporal network point and the geometry.
Definition: tnpoint_tempspatialrels.c:111
Temporal * ttouches_tnpoint_npoint(const Temporal *temp, const Npoint *np, bool restr, bool atvalue)
Return the temporal touches relationship between the temporal network point and the network point.
Definition: tnpoint_tempspatialrels.c:140
Temporal * tdwithin_tnpoint_tnpoint(Temporal *temp1, Temporal *temp2, double dist, bool restr, bool atvalue)
Return a temporal Boolean that states whether the temporal network points are within the given distan...
Definition: tnpoint_tempspatialrels.c:222
Temporal * tdwithin_npoint_tnpoint(Npoint *np, Temporal *temp, double dist, bool restr, bool atvalue)
Return a temporal Boolean that states whether the network point and the temporal network point are wi...
Definition: tnpoint_tempspatialrels.c:211
Temporal * tdwithin_tnpoint_geo(Temporal *temp, GSERIALIZED *geo, double dist, bool restr, bool atvalue)
Return a temporal Boolean that states whether the geometry and the temporal network point are within ...
Definition: tnpoint_tempspatialrels.c:169
Temporal * tcontains_geo_tnpoint(GSERIALIZED *geo, Temporal *temp, bool restr, bool atvalue)
Return the temporal contains relationship between the geometry and the temporal network point.
Definition: tnpoint_tempspatialrels.c:95