MobilityDB  1.0
tnpoint_posops.h
Go to the documentation of this file.
1 /*****************************************************************************
2  *
3  * This MobilityDB code is provided under The PostgreSQL License.
4  *
5  * Copyright (c) 2016-2021, Université libre de Bruxelles and MobilityDB
6  * contributors
7  *
8  * Permission to use, copy, modify, and distribute this software and its
9  * documentation for any purpose, without fee, and without a written
10  * agreement is hereby granted, provided that the above copyright notice and
11  * this paragraph and the following two paragraphs appear in all copies.
12  *
13  * IN NO EVENT SHALL UNIVERSITE LIBRE DE BRUXELLES BE LIABLE TO ANY PARTY FOR
14  * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING
15  * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION,
16  * EVEN IF UNIVERSITE LIBRE DE BRUXELLES HAS BEEN ADVISED OF THE POSSIBILITY
17  * OF SUCH DAMAGE.
18  *
19  * UNIVERSITE LIBRE DE BRUXELLES SPECIFICALLY DISCLAIMS ANY WARRANTIES,
20  * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
21  * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON
22  * AN "AS IS" BASIS, AND UNIVERSITE LIBRE DE BRUXELLES HAS NO OBLIGATIONS TO
23  * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. 
24  *
25  *****************************************************************************/
26 
32 #ifndef __TNPOINT_POSOPS_H__
33 #define __TNPOINT_POSOPS_H__
34 
35 #include <postgres.h>
36 #include <catalog/pg_type.h>
37 #include <fmgr.h>
38 
39 /*****************************************************************************/
40 
41 extern Datum left_npoint_tnpoint(PG_FUNCTION_ARGS);
42 extern Datum overleft_npoint_tnpoint(PG_FUNCTION_ARGS);
43 extern Datum right_npoint_tnpoint(PG_FUNCTION_ARGS);
44 extern Datum overright_npoint_tnpoint(PG_FUNCTION_ARGS);
45 extern Datum below_npoint_tnpoint(PG_FUNCTION_ARGS);
46 extern Datum overbelow_npoint_tnpoint(PG_FUNCTION_ARGS);
47 extern Datum above_npoint_tnpoint(PG_FUNCTION_ARGS);
48 extern Datum overabove_npoint_tnpoint(PG_FUNCTION_ARGS);
49 extern Datum left_tnpoint_npoint(PG_FUNCTION_ARGS);
50 extern Datum overleft_tnpoint_npoint(PG_FUNCTION_ARGS);
51 extern Datum right_tnpoint_npoint(PG_FUNCTION_ARGS);
52 extern Datum overright_tnpoint_npoint(PG_FUNCTION_ARGS);
53 extern Datum below_tnpoint_npoint(PG_FUNCTION_ARGS);
54 extern Datum overbelow_tnpoint_npoint(PG_FUNCTION_ARGS);
55 extern Datum above_tnpoint_npoint(PG_FUNCTION_ARGS);
56 extern Datum overabove_tnpoint_npoint(PG_FUNCTION_ARGS);
57 
58 /*****************************************************************************/
59 
60 #endif /* __TNPOINT_POSOPS_H__ */
Datum left_npoint_tnpoint(PG_FUNCTION_ARGS)
Returns true if the network point is strictly to the left of the temporal point.
Definition: tnpoint_posops.c:717
Datum above_tnpoint_npoint(PG_FUNCTION_ARGS)
Returns true if the temporal point is strictly above the network point.
Definition: tnpoint_posops.c:860
Datum above_npoint_tnpoint(PG_FUNCTION_ARGS)
Returns true if the network point is strictly above the temporal point.
Definition: tnpoint_posops.c:777
Datum below_tnpoint_npoint(PG_FUNCTION_ARGS)
Returns true if the temporal point is strictly below the network point.
Definition: tnpoint_posops.c:840
Datum overabove_npoint_tnpoint(PG_FUNCTION_ARGS)
Returns true if the network point does not extend below the temporal point.
Definition: tnpoint_posops.c:787
Datum overbelow_npoint_tnpoint(PG_FUNCTION_ARGS)
Returns true if the network point does not extend above the temporal point.
Definition: tnpoint_posops.c:767
Datum overright_npoint_tnpoint(PG_FUNCTION_ARGS)
Returns true if the network point does not extend to the left of the temporal point.
Definition: tnpoint_posops.c:747
Datum below_npoint_tnpoint(PG_FUNCTION_ARGS)
Returns true if the network point is strictly below the temporal point.
Definition: tnpoint_posops.c:757
Datum overleft_npoint_tnpoint(PG_FUNCTION_ARGS)
Returns true if the network point does not extend to the right of the temporal point.
Definition: tnpoint_posops.c:727
Datum left_tnpoint_npoint(PG_FUNCTION_ARGS)
Returns true if the temporal point is strictly to the left of the network point.
Definition: tnpoint_posops.c:800
Datum overright_tnpoint_npoint(PG_FUNCTION_ARGS)
Returns true if the temporal point does not extend to the left of the network point.
Definition: tnpoint_posops.c:830
Datum overabove_tnpoint_npoint(PG_FUNCTION_ARGS)
Returns true if the temporal point does not extend below the network point.
Definition: tnpoint_posops.c:870
Datum overleft_tnpoint_npoint(PG_FUNCTION_ARGS)
Returns true if the temporal point does not extend to the right of the network point.
Definition: tnpoint_posops.c:810
Datum overbelow_tnpoint_npoint(PG_FUNCTION_ARGS)
Returns true if the temporal point does not extend above the network point.
Definition: tnpoint_posops.c:850
Datum right_npoint_tnpoint(PG_FUNCTION_ARGS)
Returns true if the network point is strictly to the right of the temporal point. ...
Definition: tnpoint_posops.c:737
Datum right_tnpoint_npoint(PG_FUNCTION_ARGS)
Returns true if the temporal point is strictly to the right of the network point. ...
Definition: tnpoint_posops.c:820