How to import line segments into CloudCompare
Posted: Thu Nov 11, 2021 12:53 pm
I have a c++ program that creates some line segments. For each line segment, I have the vertices ([1 x y z], [2 x y z], [3 x y z]) and the topology (1-2, 1-3) which says how the vertices connect to each other. How I can import this into CloudCompare as a polyline object or line segment to visualize it. I can write it into the OFF format but off format expects faces to visualize them. Is there a simple way or a simple format to do this instead of using DXF or SHP file? Because I don't know how to export my data into dxf or shapefile.
I appreciate any help.
I appreciate any help.