MobilityDB 1.3
Loading...
Searching...
No Matches
Functions
npointset_meos.c File Reference

Set of network-based static point and segment types. More...

#include "npoint/tnpoint.h"
#include <assert.h>
#include <float.h>
#include <postgres.h>
#include <liblwgeom.h>
#include <meos.h>
#include "temporal/set.h"
#include "temporal/type_parser.h"
#include "temporal/type_util.h"

Functions

bool contained_npoint_set (const Npoint *np, const Set *s)
 Return true if a network point is contained in a set. More...
 
bool contains_set_npoint (const Set *s, Npoint *np)
 Return true if a set contains a network point. More...
 
bool ensure_valid_set_npoint (const Set *s, const Npoint *np)
 Return true if a set and a network point are valid for set operations. More...
 
Setintersection_npoint_set (const Npoint *np, const Set *s)
 Return the intersection of a network point and a set. More...
 
Setintersection_set_npoint (const Set *s, const Npoint *np)
 Return the intersection of a set and a network point. More...
 
Setminus_npoint_set (const Npoint *np, const Set *s)
 Return the difference of a network point and a set. More...
 
Setminus_set_npoint (const Set *s, const Npoint *np)
 Return the difference of a set and a network point. More...
 
Setnpoint_to_set (const Npoint *np)
 Convert a network point into a network point set. More...
 
Setnpoint_union_transfn (Set *state, const Npoint *np)
 Transition function for set union aggregate of network points. More...
 
Npointnpointset_end_value (const Set *s)
 Return a copy of the end value of a network point set. More...
 
Setnpointset_in (const char *str)
 Return a set from its Well-Known Text (WKT) representation. More...
 
Setnpointset_make (const Npoint **values, int count)
 Return a network point set from an array of values. More...
 
char * npointset_out (const Set *s, int maxdd)
 Return the string representation of a network point set. More...
 
Npointnpointset_start_value (const Set *s)
 Return a copy of the start value of a network point set. More...
 
bool npointset_value_n (const Set *s, int n, Npoint **result)
 Return in the last argument a copy of the n-th value of a circular buffer set. More...
 
Npoint ** npointset_values (const Set *s)
 Return the array of copies of the values of a network point set. More...
 
Setunion_npoint_set (const Npoint *np, const Set *s)
 Return the union of a network point and a set. More...
 
Setunion_set_npoint (const Set *s, const Npoint *np)
 Return the union of a set and a network point. More...
 

Detailed Description

Set of network-based static point and segment types.