...
One way to solve this problem is to use the A3DTopoEdgeGetOrCompute3DCurve helper function provided by HOOPS Exchange. This function obtains the 3D curve from the edge if it exists , and computes a new 3D curve if it does not. One consideration to make before using this function is that it requires a pointer to the A3DTopoBrepData
that contains the edge.
...
The HOOPS Exchange data model can represent edge geometry in different ways depending on the input file format. Using the method described above, you can determine and reliably obtain a 3D curve for parametric evaluation.