https://github.com/HTDerekLiu/surface_multigrid_code
Revision d79181f2d8eb642d3bbf7b6faf95a93bf3511de0 authored by eriszhang on 08 August 2021, 01:50:25 UTC, committed by eriszhang on 08 August 2021, 01:50:25 UTC
1 parent 535fef7
Raw File
Tip revision: d79181f2d8eb642d3bbf7b6faf95a93bf3511de0 authored by eriszhang on 08 August 2021, 01:50:25 UTC
update code and rename folder
Tip revision: d79181f
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