libigl v2.5.0
Loading...
Searching...
No Matches
box_faces.h File Reference
#include "igl_inline.h"
#include <Eigen/Core>
#include <Eigen/Geometry>
#include "box_faces.cpp"

Go to the source code of this file.

Namespaces

namespace  igl

Functions

template<typename DerivedV, typename DerivedQ>
void igl::box_faces (const Eigen::AlignedBox< typename DerivedV::Scalar, 3 > &box, const typename DerivedV::Scalar shrink, Eigen::PlainObjectBase< DerivedV > &P, Eigen::PlainObjectBase< DerivedQ > &Q)
 Compute the quad faces of an axis-aligned bounding box) shrunk by a given factor.
template<typename DerivedV, typename DerivedP, typename DerivedQ, typename DerivedD>
void igl::box_faces (const igl::AABB< DerivedV, 3 > &tree, Eigen::PlainObjectBase< DerivedP > &P, Eigen::PlainObjectBase< DerivedQ > &Q, Eigen::PlainObjectBase< DerivedD > &D)
 Compute the quad faces of a tree of axis-aligned bounding boxes.