okgeometry
v1.0.110
Published
OkGeometry is a geometry engine developped by Mostafa EL AYOUBI EL IDRISSI and belongs to Orkestra Online (SAS Orkestra).
Downloads
478
Readme
OkGeometry
OkGeometry is a geometry engine developped by Mostafa EL AYOUBI EL IDRISSI and belongs to Orkestra Online (SAS Orkestra).
What it was built for
Started as a curiosity / hobby project, it is primarilly meant to fuel the OkNodes project, a visual programming environment for the AEC industry (architecture , engineering and construction) that runs in the browser.
OkGeometry will be developped to meet the needs of OkNodes.
Specificities
OkGeometry also has built in rendering helpers for threejs. It implements a visit / accept pattern where each geometry class has an accept method for rendering. So far only threejs rendering is implemented but the Renderer interface could be implemented for other rendering technologies following the exact same logic, without having to modify the actual geometry classes.
Credits and references
Algorithms used for OkGeometry are created or adapted from the following refence papers and books:
- The NURBS book - Les Piegl , Wayne Tiller
- EMBER - Matthijs Douze
- Computing offsets of NURBS curves and surfaces - Les A. Piegl, Wayne Tiller
- An offset algorithm for polyline curves - Xu-Zheng Liu, Jun-Hai Yong, Guo-Qin Zheng, Jia-Guang Sun
