cesium-native 0.66.0
Loading...
Searching...
No Matches
ExtensionExtGeospatialCrsWkt2.h
1// This file was generated by generate-classes.
2// DO NOT EDIT THIS FILE!
3#pragma once
4
5#include <CesiumGltf/Library.h>
6#include <CesiumUtility/ExtensibleObject.h>
7
8#include <string>
9
10namespace CesiumGltf {
16struct CESIUMGLTF_API ExtensionExtGeospatialCrsWkt2 final
21 static constexpr const char* TypeName = "ExtensionExtGeospatialCrsWkt2";
24 static constexpr const char* ExtensionName = "EXT_geospatial_crs_wkt2";
25
30 std::string wkt2;
31
38 int64_t getSizeBytes() const {
39 int64_t accum = 0;
40 accum += int64_t(sizeof(ExtensionExtGeospatialCrsWkt2));
42 int64_t(sizeof(CesiumUtility::ExtensibleObject));
43 accum += int64_t(this->wkt2.capacity() * sizeof(char));
44 return accum;
45 }
46};
47} // namespace CesiumGltf
Classes for working with glTF models.
This extension declares the Coordinate Reference System (CRS) in which a glTF 2.1 asset was authored....
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
static constexpr const char * TypeName
The original name of this type.
std::string wkt2
The Coordinate Reference System provided as a Well-Known Text (version 2) string.
static constexpr const char * ExtensionName
The official name of the extension. This should be the same as its key in the extensions object.
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 ...