5#include <Cesium3DTiles/Library.h>
6#include <CesiumUtility/ExtensibleObject.h>
21 static constexpr const char* TypeName =
"Extension3dTilesEllipsoid";
24 static constexpr const char* ExtensionName =
"3DTILES_ellipsoid";
29 std::optional<std::string>
body;
49 accum += int64_t(this->body->capacity() *
sizeof(
char));
51 accum += int64_t(
sizeof(
double) * this->radii.capacity());
Classes for using 3D Tiles.
3DTILES_ellipsoid extension data to define the referenced ellipsoid
std::optional< std::string > body
Name of the body the ellipsoid represents, or 'none'.
std::vector< double > radii
An array of three numbers that define the X, Y and Z radii values in meters for the ellipsoid.
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
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 ...