https://github.com/HTDerekLiu/surface_multigrid_code
Revision db5c7fa56b977d3f1ac0ac11ed875f75229f2d27 authored by eriszhang on 08 August 2021, 03:27:39 UTC, committed by eriszhang on 08 August 2021, 03:27:39 UTC
1 parent d366192
Raw File
Tip revision: db5c7fa56b977d3f1ac0ac11ed875f75229f2d27 authored by eriszhang on 08 August 2021, 03:27:39 UTC
add
Tip revision: db5c7fa
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