13.02.2024 - 12:19
Uhr
*
[Lösung]
Hello Andrii,
The function GetIntersectionPoints would (if it would have worked) get you the same results, as the IntersectionCalculusEx function, but in an organized manner. The IntersectionCalculusEx calculates also "imaginary" intersection points between curves. E.g. let's assume two non-parallel line segments without an intersection point. If you would extend them to a line (Axis2D), they will eventually intersect somewhere. IntersectionCalculusEx would give you this intersection point. GetIntersectionPoints would also give you this point, but also the information, whether this point is located on both line segments, on only one or on none of them.
All-in-all, if IntersectionCalculusEx does not give you the right result, GetIntersectionPoints wouldn't also do that.
For your use-case I would rather try with the CutPolyhedronWithPlane. You are not getting the cut profile, but two polyhedrons resulting from splitting the original one. But you can analyze one of them and pick only the face, that is coplanar with your cutting plane and get its points.
Best,
Bart