cesium-native 0.66.0
Loading...
Searching...
No Matches
Extension3dTilesShapeCylinderRegion.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 Extension3dTilesShapeCylinderRegion final
17 static constexpr const char* TypeName = "Extension3dTilesShapeCylinderRegion";
20 static constexpr const char* ExtensionName = "3DTILES_shape_cylinder_region";
21
26 double minimumRadius = double();
27
32 double maximumRadius = double();
33
37 double height = double();
38
45 double minimumAngle = -3.14159265359;
46
53 double maximumAngle = 3.14159265359;
54
61 int64_t getSizeBytes() const {
62 int64_t accum = 0;
63 accum += int64_t(sizeof(Extension3dTilesShapeCylinderRegion));
65 int64_t(sizeof(CesiumUtility::ExtensibleObject));
66
67 return accum;
68 }
69};
70} // namespace CesiumGltf
Classes for working with glTF models.
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 maximumRadius
The outer radius of the cylinder region along the X and Z axes, in meters.
double minimumRadius
The inner radius of the cylinder region along the X and Z axes, in meters.
double minimumAngle
The minimum angle of the cylinder region in radians. In other words, this is the angle where the cyli...
double maximumAngle
The maximum angle of the cylinder region in radians. In other words, this is the angle where the cyli...
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
double height
The height of the cylinder along the Y-axis, in meters.
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 ...