https://github.com/HTDerekLiu/surface_multigrid_code
Raw File
Tip revision: a827578755d864df68b103c71048c7da7a00ce59 authored by HTDerekLiu on 09 August 2021, 18:36:04 UTC
add a faster example
Tip revision: a827578
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