cesium-native 0.66.0
Loading...
Searching...
No Matches
Extension3dTilesShapeEllipsoidRegion.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
8namespace CesiumGltf {
12struct CESIUMGLTF_API Extension3dTilesShapeEllipsoidRegion final
17 static constexpr const char* TypeName =
18 "Extension3dTilesShapeEllipsoidRegion";
21 static constexpr const char* ExtensionName = "3DTILES_shape_ellipsoid_region";
22
27 double minimumHeight = double();
28
33 double maximumHeight = double();
34
39 double minimumLatitude = -1.57079632679;
40
45 double maximumLatitude = 1.57079632679;
46
52 double minimumLongitude = -3.14159265359;
53
59 double maximumLongitude = 3.14159265359;
60
67 int64_t getSizeBytes() const {
68 int64_t accum = 0;
69 accum += int64_t(sizeof(Extension3dTilesShapeEllipsoidRegion));
71 int64_t(sizeof(CesiumUtility::ExtensibleObject));
72
73 return accum;
74 }
75};
76} // namespace CesiumGltf
Classes for working with glTF models.
double maximumHeight
The maximum height of the region relative to the ellipsoid's surface, in meters. May be negative.
double minimumHeight
The minimum height of the region relative to the ellipsoid's surface, in meters. May be negative.
static constexpr const char * ExtensionName
The official name of the extension. This should be the same as its key in the extensions object.
static constexpr const char * TypeName
The original name of this type.
double maximumLongitude
The maximum longitude of the region, in radians. Minimum and maximum longitude must evaluate to (0 <=...
double maximumLatitude
The maximum latitude of the region, in radians. Must be in the range [-pi/2, pi/2].
double minimumLatitude
The minimum latitude of the region, in radians. Must be in the range [-pi/2, pi/2].
double minimumLongitude
The minimum longitude of the region, in radians. Minimum and maximum longitude must evaluate to (0 <=...
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 ...