cesium-native 0.48.0
Loading...
Searching...
No Matches
Extension3dTilesBoundingVolumeS2.h
1// This file was generated by generate-classes.
2// DO NOT EDIT THIS FILE!
3#pragma once
4
5#include <Cesium3DTiles/Library.h>
6#include <CesiumUtility/ExtensibleObject.h>
7
8#include <string>
9
10namespace Cesium3DTiles {
14struct CESIUM3DTILES_API Extension3dTilesBoundingVolumeS2 final
19 static constexpr const char* TypeName = "Extension3dTilesBoundingVolumeS2";
22 static constexpr const char* ExtensionName = "3DTILES_bounding_volume_S2";
23
29 std::string token;
30
35 double minimumHeight = double();
36
41 double maximumHeight = double();
42
49 int64_t getSizeBytes() const {
50 int64_t accum = 0;
51 accum += int64_t(sizeof(Extension3dTilesBoundingVolumeS2));
53 int64_t(sizeof(CesiumUtility::ExtensibleObject));
54 accum += int64_t(this->token.capacity() * sizeof(char));
55 return accum;
56 }
57};
58} // namespace Cesium3DTiles
Classes for using 3D Tiles.
Definition Buffer.h:7
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 getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
std::string token
A hexadecimal representation of the S2CellId. Tokens shall be lower-case, shall not contain whitespac...
double maximumHeight
The maximum height of the tile, specified in meters above (or below) the WGS84 ellipsoid.
static constexpr const char * TypeName
The original name of this type.
double minimumHeight
The minimum height of the tile, specified in meters above (or below) the WGS84 ellipsoid.
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 ...