PlainObject -> MatrixBase (#2425)

* PlainObject -> MatrixBase

* template igl::Hit

* vector input intersect rays with multiple hits

* initialize

* initialize

* only write if hit

* fix templates

* template me baby

* templates

* my god. so many PlainObject -> Matrix; Derived -> PlainMatrix<Derived>

* Options doesn't exist for Maps/Refs

* templates; windows size_t shinanigans

* Derived->PlainMatrix

* windows template

* derived -> plainvector

* options

* fix templating

* std types

* fix windingnumbertree tempalting

* further fix windingnumbertree tempalting

* Xi->XI

* templating

* clean up and template some of the decimation code; eventually gave up on templating outer functions

* rm needless cast

* attempt to fix index templating in boolean code

* remove debugging casts

* more templatin hell

* debug kruft

* vector resize

* assert

* int -> template

* int -> template

* int -> template

* templating away more Xi

* templating away more 3i

* formatting

* vector

* plainmatrix

* plainmatrix

* bug

* templating MSH io

* remove use of Map

* zero default tags

* bug fix

* file debug flags

* __1::

* better typing

* knn tempalte

* note

* templating

* reorder scaf inputs

* fix build

* doc

* templates

* messier than I thought

* doc

* Xi -> XI

* use templated type

* 1x1 is always symmetric

* use index type

* split intrinsic

* templating

* template internal
This commit is contained in:
Alec Jacobson
2024-12-20 11:12:11 -05:00
committed by GitHub
parent 20c3ee0740
commit 7472691fe6
261 changed files with 2668 additions and 2051 deletions
@@ -44,6 +44,7 @@ int main(int argc, char *argv[])
Eigen::RowVector3d gray(0.9,0.9,0.9);
for(auto pass : {0,1})
{
// Overly complicated so that we can visualize each collapse.
Eigen::MatrixXd VO;
Eigen::MatrixXi FO;
igl::connect_boundary_to_infinity(V,F,VO,FO);
@@ -86,7 +87,6 @@ int main(int argc, char *argv[])
igl::max_faces_stopping_condition(m,orig_m,target_m),
pre_collapse,
post_collapse,
E, EMAP, EF, EI,
U, G, J, I);
G = G(igl::find((J.array()<orig_m).eval()), igl::placeholders::all).eval();
{