04 2022 档案

摘要:int main() { const int num_points = 5; static float x[num_points][3] = { {0,0,0},{1,0,0},{1,1,0},{0,1,0},{0.5,0.5,1} }; static vtkIdType pts[4][3] = { 阅读全文
posted @ 2022-04-16 15:12 二先生- 阅读(52) 评论(0) 推荐(0) 编辑
摘要:本来要做的是地层模型,没想到阴差阳错做了两个地层,如果继续把周围点连接成面会得到一个中空的地质体。果断放弃,另辟蹊径。 string Trim(string& str) { //str.find_first_not_of(" \t\r\n"),在字符串str中从索引0开始,返回首次不匹配"\t\r\ 阅读全文
posted @ 2022-04-16 15:11 二先生- 阅读(41) 评论(0) 推荐(0) 编辑
摘要:int main() { int i; static float x[8][3] = { {0,0,0},{1,0,0},{1,1,0},{0,1,0}, {0,0,1},{1,0,1},{1,1,1},{0,1,1} }; static vtkIdType pts[6][4] = { {0,1,2 阅读全文
posted @ 2022-04-15 14:57 二先生- 阅读(186) 评论(0) 推荐(0) 编辑
摘要:1 string Trim(string& str) 2 { 3 //str.find_first_not_of(" \t\r\n"),在字符串str中从索引0开始,返回首次不匹配"\t\r\n"的位置 4 str.erase(0, str.find_first_not_of(" \t\r\n")) 阅读全文
posted @ 2022-04-11 21:33 二先生- 阅读(313) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示