Geometry Creation for Section Cap.
C++ Code required to generate Geometry (set of triangles) to fill cut section portion of a ‘Part’.
‘Part’ is set triangles which forms surface of a solid geometry.
Input: Set of triangles and plane equation. (ax+by+cz+d=0)
Output : Set of triangles that fills hollow portion in the section part to show the part as solid. The algorithm.
OpenCL parallel code is preferable.
Std::vector<float> GetSectionTriangles(std::vector<float> inPartTrianglesArray,float z,float [login to view URL] c, float d);
The Following paper discussed the problem and algorithms in detail.
[login to view URL]
Note 1: Viewer code and GUI already developed. Ogre3D based viewer and 3D models will be provided later at the time of further discussion.
Note 2: Currently 3D pdf files are provided to understand the requirement better.