parameterization.cxx
来自「another source code for reduced basis」· CXX 代码 · 共 41 行
CXX
41 行
/*A fast and simple stretch-minimizing mesh parameterization C++ codeCopyright:(c) Shin Yoshizawa, 2004E-mail: shin.yoshizawa@mpi-sb.mpg.deURL: http://www.mpi-sb.mpg.de/~shinAffiliation: Max-Planck-Institut fuer Informatik: Computer Graphics Group Stuhlsatzenhausweg 85, 66123 Saarbruecken, Germany Phone +49 681 9325-408 Fax +49 681 9325-499 All right is reserved by Shin Yoshizawa.This C++ sources are allowed for only primary user of research and educational purposes. Don't use secondary: copy, distribution, diversion, business purpose, and etc.. */#include<stdio.h>#include<math.h>#include"Point3d.h"#include"Point2d.h"#include"IDList.h"#include"PointTool.h"#include"PolarList.h"#include"IDSet.h"#include"PCBCGSolver.h"#include"Polyhedron.h"// Main int main(int argc,char *argv[]){ if(argv[1]==NULL)return 0; Polyhedron *mymesh = new Polyhedron(); mymesh->readmesh(argv[1]); mymesh->param(); if(argv[2]==NULL){ delete mymesh; return 0; } mymesh->writemesh(argv[2]); delete mymesh; return 0;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?