5#include <CesiumGltf/Library.h>
6#include <CesiumUtility/ExtensibleObject.h>
23 static constexpr const char*
TypeName =
"ExtensionExtGeospatialCrsWkid";
48 std::optional<std::string>
epoch;
61 accum += int64_t(this->authority.capacity() *
sizeof(
char));
63 accum += int64_t(this->epoch->capacity() *
sizeof(
char));
Classes for working with glTF models.
This extension declares the Coordinate Reference System (CRS) in which a glTF 2.1 asset was authored....
std::optional< std::string > epoch
An epoch for coordinates that are referenced to a dynamic CRS such as WGS 84. Expressed as a decimal ...
std::string authority
The organization that defines and manages a specific CRS identifier.
static constexpr const char * ExtensionName
The official name of the extension. This should be the same as its key in the extensions object.
int64_t wkid
An integer that identifies the CRS.
static constexpr const char * TypeName
The original name of this type.
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
std::optional< int64_t > vcsWkid
An integer that identifies the vertical CRS if wkid identifies a horizontal CRS.
The base class for objects that have extensions and extras.
int64_t getSizeBytes() const
Calculates the size in bytes of this ExtensibleObject, including all of its extras but NOT including ...