QGIS/python/core/auto_generated/tiledmesh/qgscesiumutils.sip.in
2023-07-16 14:43:38 +10:00

119 lines
2.8 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/core/tiledmesh/qgscesiumutils.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsOrientedBoundingBox
{
%Docstring(signature="appended")
Represents a oriented (rotated) bounding box in 3 dimensions.
.. warning::
Non-stable API, exposed to Python for unit testing only.
.. versionadded:: 3.34
%End
%TypeHeaderCode
#include "qgscesiumutils.h"
%End
public:
QgsOrientedBoundingBox();
%Docstring
Constructor for a null bounding box.
%End
QgsOrientedBoundingBox( const QList<double> &center, QList< double > &halfAxes );
%Docstring
Constructor for a oriented bounding box, with a specified center and half axes matrix.
%End
bool isNull() const;
%Docstring
Returns ``True`` if the box is a null bounding box.
%End
double centerX() const;
%Docstring
Returns the center x-coordinate.
.. seealso:: :py:func:`centerY`
.. seealso:: :py:func:`centerZ`
%End
double centerY() const;
%Docstring
Returns the center y-coordinate.
.. seealso:: :py:func:`centerX`
.. seealso:: :py:func:`centerZ`
%End
double centerZ() const;
%Docstring
Returns the center z-coordinate.
.. seealso:: :py:func:`centerX`
.. seealso:: :py:func:`centerY`
%End
QList< double > halfAxesList() const /PyName=halfAxes/;
%Docstring
Returns the half axes matrix;
%End
QgsBox3d extent() const;
%Docstring
Returns the overall bounding box of the object.
%End
};
class QgsCesiumUtils
{
%Docstring(signature="appended")
Contains utilities for working with Cesium data.
.. versionadded:: 3.34
%End
%TypeHeaderCode
#include "qgscesiumutils.h"
%End
public:
static QgsBox3d parseRegion( const QVariantList &region );
%Docstring
Parses a ``region`` object from a Cesium JSON document to a 3D box.
%End
static QgsOrientedBoundingBox parseBox( const QVariantList &box );
%Docstring
Parses a ``box`` object from a Cesium JSON document to an oriented bounding box.
%End
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/tiledmesh/qgscesiumutils.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/