![]() |
MobilityDB 1.3
|
Basic functions for pose objects. More...
#include <assert.h>
#include <math.h>
#include <postgres.h>
#include <funcapi.h>
#include <access/heaptoast.h>
#include <lib/stringinfo.h>
#include <liblwgeom.h>
#include <meos.h>
#include <meos_pose.h>
#include "temporal/postgres_types.h"
#include "temporal/set.h"
#include "temporal/span.h"
#include "temporal/type_inout.h"
#include "temporal/type_util.h"
#include "geo/stbox.h"
#include "pose/pose.h"
#include "pg_temporal/temporal.h"
#include "pg_temporal/type_util.h"
#include "pg_geo/postgis.h"
Functions | |
Datum | Pose_as_ewkb (PG_FUNCTION_ARGS) |
Return the Well-Known Binary (WKB) representation of a pose @sqlfn asBinary() More... | |
Datum | Pose_as_ewkt (PG_FUNCTION_ARGS) |
Return the Extended Well-Known Text (EWKT) representation of a pose. More... | |
Datum | Pose_as_hexwkb (PG_FUNCTION_ARGS) |
Return the ASCII hex-encoded Well-Known Binary (HexWKB) representation of a pose @sqlfn asHexWKB() More... | |
Datum | Pose_as_text (PG_FUNCTION_ARGS) |
Return the Well-Known Text (WKT) representation of a pose @sqlfn asText() More... | |
static Datum | Pose_as_text_ext (FunctionCallInfo fcinfo, bool extended) |
Return the (Extended) Well-Known Text (WKT or EWKT) representation of a pose @sqlfn asText(), asEWKT() More... | |
Datum | Pose_as_wkb (PG_FUNCTION_ARGS) |
Return the Well-Known Binary (WKB) representation of a pose @sqlfn asBinary() More... | |
Datum | Pose_cmp (PG_FUNCTION_ARGS) |
Return -1, 0, or 1 depending on whether the first pose is less than, equal to, or greater than the second one. More... | |
Datum | Pose_constructor (PG_FUNCTION_ARGS) |
Construct a pose from a 2D/3D point and an orientation @sqlfn pose() More... | |
Datum | Pose_constructor_point (PG_FUNCTION_ARGS) |
Construct a pose from a 2D/3D point and an orientation @sqlfn pose() More... | |
Datum | Pose_eq (PG_FUNCTION_ARGS) |
Return true if the first pose is equal to the second one @sqlfn pose_eq() More... | |
Datum | Pose_from_ewkt (PG_FUNCTION_ARGS) |
Return a pose from its Extended Well-Known Text (EWKT) representation. More... | |
Datum | Pose_from_hexwkb (PG_FUNCTION_ARGS) |
Return a pose from its ASCII hex-encoded Well-Known Binary (HexWKB) representation @sqlfn poseFromHexWKB() More... | |
Datum | Pose_from_wkb (PG_FUNCTION_ARGS) |
Return a pose from its Well-Known Binary (WKB) representation @sqlfn poseFromBinary() More... | |
Datum | Pose_ge (PG_FUNCTION_ARGS) |
Return true if the first pose is greater than or equal to the second one @sqlfn pose_ge() More... | |
Datum | Pose_gt (PG_FUNCTION_ARGS) |
Return true if the first pose is greater than the second one @sqlfn pose_gt() More... | |
Datum | Pose_hash (PG_FUNCTION_ARGS) |
Return the 32-bit hash value of a pose @sqlfn hash() More... | |
Datum | Pose_hash_extended (PG_FUNCTION_ARGS) |
Return the 64-bit hash value of a pose using a seed @sqlfn hash_extended() More... | |
Datum | Pose_in (PG_FUNCTION_ARGS) |
Input function for pose values. More... | |
Datum | Pose_le (PG_FUNCTION_ARGS) |
Return true if the first pose is less than or equal to the second one @sqlfn pose_le() More... | |
Datum | Pose_lt (PG_FUNCTION_ARGS) |
Return true if the first pose is less than the second one @sqlfn pose_lt() More... | |
Datum | Pose_ne (PG_FUNCTION_ARGS) |
Return true if the first pose is not equal to the second one @sqlfn pose_ne() More... | |
Datum | Pose_orientation (PG_FUNCTION_ARGS) |
Return the orientation of a 3D pose @sqlfn orientation() More... | |
Datum | Pose_out (PG_FUNCTION_ARGS) |
Output function for pose values @sqlfn pose_out() More... | |
Datum | Pose_point (PG_FUNCTION_ARGS) |
Return the point of a pose @sqlfn point() More... | |
Datum | Pose_recv (PG_FUNCTION_ARGS) |
Return a pose from its Well-Known Binary (WKB) representation @sqlfn pose_recv() More... | |
Datum | Pose_rotation (PG_FUNCTION_ARGS) |
Return the rotation of a 2D pose @sqlfn rotation() More... | |
Datum | Pose_round (PG_FUNCTION_ARGS) |
Return a pose with the precision of the values set to a number of decimal places @sqlfn round() More... | |
Datum | Pose_same (PG_FUNCTION_ARGS) |
Return true if two poses are approximately equal with respect to an epsilon value @sqlfn same() More... | |
Datum | Pose_send (PG_FUNCTION_ARGS) |
Return the Well-Known Binary (WKB) representation of a pose @sqlfn pose_send() More... | |
Datum | Pose_set_srid (PG_FUNCTION_ARGS) |
Return a pose with the coordinates of the point set to an SRID @sqlfn setSRID() More... | |
Datum | Pose_srid (PG_FUNCTION_ARGS) |
Return the SRID of a pose @sqlfn SRID() More... | |
Datum | Pose_timestamptz_to_stbox (PG_FUNCTION_ARGS) |
Construct a spatiotemporal box from a pose and a timestamptz @sqlfn stbox() More... | |
Datum | Pose_to_point (PG_FUNCTION_ARGS) |
Convert a pose into a geometry point @sqlfn geometry() More... | |
Datum | Pose_to_stbox (PG_FUNCTION_ARGS) |
Construct a spatiotemporal box from a pose @sqlfn stbox() More... | |
Datum | Pose_transform (PG_FUNCTION_ARGS) |
Return a pose transformed to an SRID @sqlfn transform() More... | |
Datum | Pose_transform_pipeline (PG_FUNCTION_ARGS) |
Return a pose transformed to an SRID using a pipeline @sqlfn transformPipeline() More... | |
Datum | Pose_tstzspan_to_stbox (PG_FUNCTION_ARGS) |
Construct a spatiotemporal box from a pose and a timestamptz span @sqlfn stbox() More... | |
Datum | Posearr_round (PG_FUNCTION_ARGS) |
Return an array of poses with the precision of the values set to a number of decimal places @sqlfn round() More... | |
Basic functions for pose objects.