Git Product home page Git Product logo

cadminidemo's Introduction

本程序实现了欧拉操作,以及体扫成操作,程序实现了单个模型多孔的构造。

编写了对应平台的Makefile文件,在linux下测试通过,其他平台未进行测试。 若需要在其他平台进行测试,请将对应平台的Makefile.xxx文件替换当前Makefile

程序接口位于Manager.h中,分别为构造平面,添加孔洞,扫成操作。

测试数据格式:

n
m1
v0 v1 v2
...
m2
v0 v1 v2
...
m3
v0 v1 v2
d0 d1 d2
...

其中 n 为当前构造体中环的数量,接着是一个外环数据,以及n-1个内环数据。 m指定环内的元素个数,接着是顶点的三元组数据。数据的最后是扫成的方向。 顶点数据输入时请保持绕向一致,测试数据中给定的数据为逆时针绕向。

Usage:

$ cd src $ make && ../bin/tessellation < data

当前data文件为单体双孔的数据

cadminidemo's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.