eryar

PipeCAD - Plant Piping Design Software.
RvmTranslator - Translate AVEVA RVM to OBJ, glTF, etc.
posts - 603, comments - 590, trackbacks - 0, articles - 0

01 2013 档案

     摘要: Open Cascade造型算法——倒圆与倒角
Modeling Algorithms Fillets and Chamfers  阅读全文

posted @ 2013-01-20 19:21 eryar 阅读(5001) | 评论 (2)  编辑 |

     摘要: Open Cascade中的布尔操作
Modeling Algorithms Boolean Operations
布尔操作(Boolean Operations)是通过两个形状(S1,S2)的组合来生成新的形状。布尔操作有如下几种类型:
u 并集操作Fusion:Gets all the points in S1 or S2;
u 交集操作Common:Gets all the points in S1 and S2;
u 差集操作Cut S1 by S2:Gets all the points in S1 and not in S2;
  阅读全文

posted @ 2013-01-17 22:23 eryar 阅读(11230) | 评论 (19)  编辑 |

     摘要: 在Open Cascade中创建基本几何实体  阅读全文

posted @ 2013-01-13 22:49 eryar 阅读(9664) | 评论 (7)  编辑 |

     摘要: 在几何建模的过程中,程序创建和删除了大量的对象在动态内存中,也就是堆中。在这种情况下,标准C++的内存管理方式不是很高效,所以Open Cascade在包Standard中专门写了个内存管理程序(Memory Manager)来对内存的分配与删除进行管理。  阅读全文

posted @ 2013-01-13 18:39 eryar 阅读(3844) | 评论 (2)  编辑 |

     摘要: 对应的new和delete要采用相同的形式
尽量用new和delete而不用malloc和free

From: Effective C++   阅读全文

posted @ 2013-01-09 20:57 eryar 阅读(2891) | 评论 (0)  编辑 |

     摘要: 本文用C实现了图的最短路径Dijkstra算法,并将自己理解该算法的方式与大家分享下,若有错误之处,欢迎指正。  阅读全文

posted @ 2013-01-01 22:38 eryar 阅读(10291) | 评论 (0)  编辑 |