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

Function Point_lon

src/datatypes/point.c:16–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14}
15
16float Point_lon(SIValue point) {
17 ASSERT(SI_TYPE(point) == T_POINT);
18
19 return point.point.longitude;
20}
21
22SIValue Point_GetCoordinate(SIValue point, SIValue key) {
23 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