cesium-native 0.50.0
|
A Polygon
geometry object.
More...
#include <CesiumVectorData/GeoJsonObjectTypes.h>
Public Attributes | |
std::vector< std::vector< glm::dvec3 > > | coordinates |
The list of linear rings making up this Polygon, each one defined by a set of four or more Cartographic coordinates. | |
std::optional< CesiumGeometry::AxisAlignedBox > | boundingBox = std::nullopt |
The bounding box associated with this Polygon value, if any. | |
CesiumUtility::JsonValue::Object | foreignMembers |
Any members specified on this object that are not part of the specification for this object. | |
std::optional< VectorStyle > | style = std::nullopt |
The style to apply to this object as well as any child object. If not set, the style of any parent object or the default style will be used. | |
Static Public Attributes | |
static constexpr GeoJsonObjectType | TYPE = GeoJsonObjectType::Polygon |
The GeoJsonObjectType for a Polygon. | |
A Polygon
geometry object.
A Polygon value contains multiple lists of four or more points that each make up a "linear ring." Each linear ring is the boundary of the surface or the boundary of a hole in that surface.
Definition at line 190 of file GeoJsonObjectTypes.h.
std::optional<CesiumGeometry::AxisAlignedBox> CesiumVectorData::GeoJsonPolygon::boundingBox = std::nullopt |
The bounding box associated with this Polygon value, if any.
Definition at line 209 of file GeoJsonObjectTypes.h.
std::vector<std::vector<glm::dvec3> > CesiumVectorData::GeoJsonPolygon::coordinates |
The list of linear rings making up this Polygon, each one defined by a set of four or more Cartographic
coordinates.
Each linear ring can be thought of as a closed LineString
- the first and last positions must be equivalent and contain identical values. If more than one of these rings is present, the first ring is the exterior ring bounding the surface, and each additional ring represents the bounds of holes within that surface.
Definition at line 204 of file GeoJsonObjectTypes.h.
CesiumUtility::JsonValue::Object CesiumVectorData::GeoJsonPolygon::foreignMembers |
Any members specified on this object that are not part of the specification for this object.
See https://datatracker.ietf.org/doc/html/rfc7946#section-6.1 for more information.
Definition at line 218 of file GeoJsonObjectTypes.h.
std::optional<VectorStyle> CesiumVectorData::GeoJsonPolygon::style = std::nullopt |
The style to apply to this object as well as any child object. If not set, the style of any parent object or the default style will be used.
Definition at line 225 of file GeoJsonObjectTypes.h.
|
staticconstexpr |
The GeoJsonObjectType
for a Polygon.
Definition at line 192 of file GeoJsonObjectTypes.h.