https://github.com/HTDerekLiu/surface_multigrid_code
Revision 2a5ce10bcc87d1ae648b298a39eec2f368b24b24 authored by HTDerekLiu on 24 May 2021, 13:03:36 UTC, committed by HTDerekLiu on 24 May 2021, 13:03:36 UTC
1 parent 5d998ed
Raw File
Tip revision: 2a5ce10bcc87d1ae648b298a39eec2f368b24b24 authored by HTDerekLiu on 24 May 2021, 13:03:36 UTC
add balloon
Tip revision: 2a5ce10
normalize_unit_area.h
#ifndef NORMALIZE_UNIT_AREA_H
#define NORMALIZE_UNIT_AREA_H

#include <iostream>
#include <Eigen/Core>
#include <igl/doublearea.h>

// Inputs:
//   V        a matrix of vertex positions
//   F        a matrix of face info
// Outputs: 
//   V        a matrix of vertex positions (in a unit box)
void normalize_unit_area(
	Eigen::MatrixXd & V,
	const Eigen::MatrixXi & F);
#endif
back to top