![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
boost
CppBlock
这个作者很懒,什么都没留下…
展开
-
基于BowyerWatson的Delaunay三角化算法实现
实现效果如下图所示:代码:#include<iostream>using namespace std;#include "bowyer_watson.h"#include <sstream>#include <fstream>#include <chrono>#include <armadillo>using namespace std;//function to provide a first-order t原创 2021-07-02 23:50:57 · 1007 阅读 · 1 评论 -
使用boost.python连接python与C++
介绍使用boost.python连接python与C++具体实现过程,使用boost.python库可以快速、无缝地将c++类、函数和对象公开给Python,反之亦然,并且它不需要任何特殊的工具——只需要c++编译器。封装C++接口时也无需对C++代码进行改动。因此boost.python是向Python公开第三方库的理想选择。该库使用了高级元编程技术,简化了面向用户的语法,因此包装代码看起来就像一种声明式接口定义语言(IDL);https://mp.weixin.qq.com/s?__biz=MzU0原创 2020-05-23 20:04:31 · 147 阅读 · 0 评论 -
boost库的编译安装
准备工作 下载boost库的最新代码(https://www.boost.org/),这里下载的是boost.1.73.0; 解压代码到指定目录,这里存放到D:\Programs\boost_1_73_0; 打开MSVS的命令行工具,并切换至D:\Programs\boost_1_73_0; 在命令行中输入bootstrap,运行后会生成b2.exe,该工具将用于编译boost代码库; 编译boost 在打开的命令行中输入以下命令 //编译boost静态库原创 2020-05-17 19:23:26 · 564 阅读 · 0 评论