QAxisAlignedBoundingBox Class


Public Functions

QAxisAlignedBoundingBox(const QVector<QVector3D> & points)
QVector3D center() const
void clear()
bool contains(const QVector3D & pt) const
void expandToContain(const QVector3D & pt)
void expandToContain(const QAxisAlignedBoundingBox & other)
float maxExtent() const
QVector3D maxPoint() const
float minExtent() const
QVector3D minPoint() const
QVector3D radii() const
QAxisAlignedBoundingBox & transform(const QMatrix4x4 & mat)
QAxisAlignedBoundingBox transformBy(const QMatrix4x4 & mat) const
void update(const QVector<QVector3D> & points)
float xExtent() const
float yExtent() const
float zExtent() const

Member Function Documentation


QAxisAlignedBoundingBox::QAxisAlignedBoundingBox(const QVector<QVector3D> & points)

QVector3D QAxisAlignedBoundingBox::center() const

void QAxisAlignedBoundingBox::clear()

bool QAxisAlignedBoundingBox::contains(const QVector3D & pt) const

void QAxisAlignedBoundingBox::expandToContain(const QVector3D & pt)

void QAxisAlignedBoundingBox::expandToContain(const QAxisAlignedBoundingBox & other)

float QAxisAlignedBoundingBox::maxExtent() const

QVector3D QAxisAlignedBoundingBox::maxPoint() const

float QAxisAlignedBoundingBox::minExtent() const

QVector3D QAxisAlignedBoundingBox::minPoint() const

QVector3D QAxisAlignedBoundingBox::radii() const

QAxisAlignedBoundingBox & QAxisAlignedBoundingBox::transform(const QMatrix4x4 & mat)

QAxisAlignedBoundingBox QAxisAlignedBoundingBox::transformBy(const QMatrix4x4 & mat) const

void QAxisAlignedBoundingBox::update(const QVector<QVector3D> & points)

float QAxisAlignedBoundingBox::xExtent() const

float QAxisAlignedBoundingBox::yExtent() const

float QAxisAlignedBoundingBox::zExtent() const

© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.