📄 extract_balls_from_pdb.h
字号:
// AUTHOR: Daniel Russel drussel@graphics.stanford.edu// See http://graphics.stanford.edu/~drussel/pdb for documentation.// // Feel free to contact me (Daniel, drussel@graphics.stanford.edu) // if you have any suggestions or patches. Thanks.#ifndef EXTRACT_BALLS_FROM_PDB_H#define EXTRACT_BALLS_FROM_PDB_H#include <CGAL/PDB/PDB.h>#include <CGAL/PDB/cgal.h>#include <fstream>template <class Traits, class OutputIterator>void extract_balls_from_pdb(const char *filename, Traits const &t, OutputIterator weighted_points) { std::ifstream in(filename); if (!in) { std::cerr << "Error opening input file " << filename << std::endl; } CGAL::PDB::PDB pdb(in, true); CGAL::PDB::all_weighted_points(pdb.model(0), t, weighted_points); } #endif // EXTRACT_BALLS_FROM_PDB_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -