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

Go to the source code of this file.

Namespaces

namespace  igl
 

Functions

template<typename DerivedV , typename DerivedF , typename DerivedMV , typename DerivedP , typename DerivedFF , typename DerivedI >
void igl::sort_triangles (const Eigen::MatrixBase< DerivedV > &V, const Eigen::MatrixBase< DerivedF > &F, const Eigen::MatrixBase< DerivedMV > &MV, const Eigen::MatrixBase< DerivedP > &P, Eigen::PlainObjectBase< DerivedFF > &FF, Eigen::PlainObjectBase< DerivedI > &I)
 Sort triangles by depth (from back to front) using a painter's algorithm.