MCPcopy Create free account
hub / github.com/RedisGraph/RedisGraph / Point_lat

Function Point_lat

src/datatypes/point.c:10–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8#include "point.h"
9
10float Point_lat(SIValue point) {
11 ASSERT(SI_TYPE(point) == T_POINT);
12
13 return point.point.latitude;
14}
15
16float Point_lon(SIValue point) {
17 ASSERT(SI_TYPE(point) == T_POINT);

Callers 9

SIValue_ToStringFunction · 0.85
SIValue_CompareFunction · 0.85
_RdbSaveSIValueFunction · 0.85
Index_IndexGraphEntityFunction · 0.85
_JsonEncoder_PointFunction · 0.85
Point_GetCoordinateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected