5#include <Cesium3DTiles/Library.h>
6#include <CesiumUtility/ExtensibleObject.h>
21 static constexpr const char* TypeName =
"BoundingVolume";
31 std::vector<double>
box;
64 accum += int64_t(
sizeof(
double) * this->box.capacity());
65 accum += int64_t(
sizeof(
double) * this->region.capacity());
66 accum += int64_t(
sizeof(
double) * this->sphere.capacity());
Classes for using 3D Tiles.
A bounding volume that encloses a tile or its content. At least one bounding volume property is requi...
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
std::vector< double > region
An array of six numbers that define a bounding geographic region in EPSG:4979 coordinates with the or...
std::vector< double > sphere
An array of four numbers that define a bounding sphere. The first three elements define the x,...
std::vector< double > box
An array of 12 numbers that define an oriented bounding box. The first three elements define the x,...
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 ...