1#ifndef IGL_BOX_SURFACE_AREA_H
2#define IGL_BOX_SURFACE_AREA_H
5#include <Eigen/Geometry>
14 template <
typename DerivedCorner>
16 const Eigen::MatrixBase<DerivedCorner> & min_corner,
17 const Eigen::MatrixBase<DerivedCorner> & max_corner);
20 template <
typename Scalar,
int AmbientDim>
22 const Eigen::AlignedBox<Scalar,AmbientDim> & box);
25#ifndef IGL_STATIC_LIBRARY
26# include "box_surface_area.cpp"
#define IGL_INLINE
Definition igl_inline.h:15
DerivedCorner::Scalar box_surface_area(const Eigen::MatrixBase< DerivedCorner > &min_corner, const Eigen::MatrixBase< DerivedCorner > &max_corner)
Compute the surface area of a box given its min and max corners.