MCPcopy Create free account
hub / github.com/CesiumGS/cesium-native / getFace

Method getFace

CesiumGeospatial/src/S2CellID.cpp:90–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88int32_t S2CellID::getLevel() const { return GoogleS2CellID(this->_id).level(); }
89
90uint8_t S2CellID::getFace() const {
91 return static_cast<uint8_t>(GoogleS2CellID(this->_id).face());
92}
93
94Cartographic S2CellID::getCenter() const {
95 S2LatLng ll = GoogleS2CellID(this->_id).ToLatLng();

Calls

no outgoing calls

Tested by

no test coverage detected