mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-04 00:06:46 -05:00
fixes after rebase
This commit is contained in:
parent
644efd2dbd
commit
e8f0e1cca1
@ -385,13 +385,13 @@ If the specified precision is less than 0, a suitable minimum precision is used.
|
||||
.. versionadded:: 3.34
|
||||
%End
|
||||
|
||||
QgsBox3d operator-( const QgsVector3D &v ) const;
|
||||
QgsBox3D operator-( const QgsVector3D &v ) const;
|
||||
|
||||
QgsBox3d operator+( const QgsVector3D &v ) const;
|
||||
QgsBox3D operator+( const QgsVector3D &v ) const;
|
||||
|
||||
QgsBox3d &operator-=( const QgsVector3D &v );
|
||||
QgsBox3D &operator-=( const QgsVector3D &v );
|
||||
|
||||
QgsBox3d &operator+=( const QgsVector3D &v );
|
||||
QgsBox3D &operator+=( const QgsVector3D &v );
|
||||
|
||||
};
|
||||
|
||||
|
||||
@ -304,19 +304,19 @@ QString QgsBox3D::toString( int precision ) const
|
||||
return rep;
|
||||
}
|
||||
|
||||
QgsBox3d QgsBox3d::operator-( const QgsVector3D &v ) const
|
||||
QgsBox3D QgsBox3D::operator-( const QgsVector3D &v ) const
|
||||
{
|
||||
return QgsBox3d( mBounds2d.xMinimum() - v.x(), mBounds2d.yMinimum() - v.y(), mZmin - v.z(),
|
||||
return QgsBox3D( mBounds2d.xMinimum() - v.x(), mBounds2d.yMinimum() - v.y(), mZmin - v.z(),
|
||||
mBounds2d.xMaximum() - v.x(), mBounds2d.yMaximum() - v.y(), mZmax - v.z() );
|
||||
}
|
||||
|
||||
QgsBox3d QgsBox3d::operator+( const QgsVector3D &v ) const
|
||||
QgsBox3D QgsBox3D::operator+( const QgsVector3D &v ) const
|
||||
{
|
||||
return QgsBox3d( mBounds2d.xMinimum() + v.x(), mBounds2d.yMinimum() + v.y(), mZmin + v.z(),
|
||||
return QgsBox3D( mBounds2d.xMinimum() + v.x(), mBounds2d.yMinimum() + v.y(), mZmin + v.z(),
|
||||
mBounds2d.xMaximum() + v.x(), mBounds2d.yMaximum() + v.y(), mZmax + v.z() );
|
||||
}
|
||||
|
||||
QgsBox3d &QgsBox3d::operator-=( const QgsVector3D &v )
|
||||
QgsBox3D &QgsBox3D::operator-=( const QgsVector3D &v )
|
||||
{
|
||||
mBounds2d.set( mBounds2d.xMinimum() - v.x(), mBounds2d.yMinimum() - v.y(),
|
||||
mBounds2d.xMaximum() - v.x(), mBounds2d.yMaximum() - v.y() );
|
||||
@ -325,7 +325,7 @@ QgsBox3d &QgsBox3d::operator-=( const QgsVector3D &v )
|
||||
return *this;
|
||||
}
|
||||
|
||||
QgsBox3d &QgsBox3d::operator+=( const QgsVector3D &v )
|
||||
QgsBox3D &QgsBox3D::operator+=( const QgsVector3D &v )
|
||||
{
|
||||
mBounds2d.set( mBounds2d.xMinimum() + v.x(), mBounds2d.yMinimum() + v.y(),
|
||||
mBounds2d.xMaximum() + v.x(), mBounds2d.yMaximum() + v.y() );
|
||||
|
||||
@ -388,25 +388,25 @@ class CORE_EXPORT QgsBox3D
|
||||
* Returns a box offset from this one in the direction of the reversed vector.
|
||||
* \since QGIS 3.34
|
||||
*/
|
||||
QgsBox3d operator-( const QgsVector3D &v ) const;
|
||||
QgsBox3D operator-( const QgsVector3D &v ) const;
|
||||
|
||||
/**
|
||||
* Returns a box offset from this one in the direction of the vector.
|
||||
* \since QGIS 3.34
|
||||
*/
|
||||
QgsBox3d operator+( const QgsVector3D &v ) const;
|
||||
QgsBox3D operator+( const QgsVector3D &v ) const;
|
||||
|
||||
/**
|
||||
* Moves this box in the direction of the reversed vector.
|
||||
* \since QGIS 3.34
|
||||
*/
|
||||
QgsBox3d &operator-=( const QgsVector3D &v );
|
||||
QgsBox3D &operator-=( const QgsVector3D &v );
|
||||
|
||||
/**
|
||||
* Moves this box in the direction of the vector.
|
||||
* \since QGIS 3.34
|
||||
*/
|
||||
QgsBox3d &operator+=( const QgsVector3D &v );
|
||||
QgsBox3D &operator+=( const QgsVector3D &v );
|
||||
|
||||
private:
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user