8#ifndef IGL_DOUBLEAREA_H 
    9#define IGL_DOUBLEAREA_H 
   28  template <
typename DerivedV, 
typename DerivedF, 
typename DeriveddblA>
 
   30    const Eigen::MatrixBase<DerivedV> & V,
 
   31    const Eigen::MatrixBase<DerivedF> & F,
 
   32    Eigen::PlainObjectBase<DeriveddblA> & dblA);
 
   45    const Eigen::MatrixBase<DerivedA> & A,
 
   46    const Eigen::MatrixBase<DerivedB> & B,
 
   47    const Eigen::MatrixBase<DerivedC> & C,
 
   48    Eigen::PlainObjectBase<DerivedD> & D);
 
   62    const Eigen::MatrixBase<DerivedA> & A,
 
   63    const Eigen::MatrixBase<DerivedB> & B,
 
   64    const Eigen::MatrixBase<DerivedC> & C);
 
   79  template <
typename Derivedl, 
typename DeriveddblA>
 
   81    const Eigen::MatrixBase<Derivedl> & l,
 
   82    const typename Derivedl::Scalar nan_replacement,
 
   83    Eigen::PlainObjectBase<DeriveddblA> & dblA);
 
   87  template <
typename Derivedl, 
typename DeriveddblA>
 
   89    const Eigen::MatrixBase<Derivedl> & l,
 
   90    Eigen::PlainObjectBase<DeriveddblA> & dblA);
 
   98  template <
typename DerivedV, 
typename DerivedF, 
typename DeriveddblA>
 
  100    const Eigen::MatrixBase<DerivedV> & V,
 
  101    const Eigen::MatrixBase<DerivedF> & F,
 
  102    Eigen::PlainObjectBase<DeriveddblA> & dblA);
 
  105#ifndef IGL_STATIC_LIBRARY 
  106#  include "doublearea.cpp" 
#define IGL_INLINE
Definition igl_inline.h:15
 
void doublearea_quad(const Eigen::MatrixBase< DerivedV > &V, const Eigen::MatrixBase< DerivedF > &F, Eigen::PlainObjectBase< DeriveddblA > &dblA)
Computes twice the area for each input quadrilateral.
 
void doublearea(const Eigen::MatrixBase< DerivedV > &V, const Eigen::MatrixBase< DerivedF > &F, Eigen::PlainObjectBase< DeriveddblA > &dblA)
Computes twice the area for each input triangle or quad.
 
DerivedA::Scalar doublearea_single(const Eigen::MatrixBase< DerivedA > &A, const Eigen::MatrixBase< DerivedB > &B, const Eigen::MatrixBase< DerivedC > &C)
Compute the twice the signed area of a single triangle.