I wrote program to read a iges file and display it.
I tried to get the points of intersection of the 2D edges and the 2D edges in a parametric surface,but I have no idea to do this. Hope someone can give me advices.
This is my code:
Standard_Real umin, umax;
Standard_Real vmin, vmax;
aSurf->Bounds(umin, umax, vmin, vmax)
for(int i = 1;i
int count = 0,c=0;
for (edge_exp.Init(aFace, TopAbs_EDGE); edge_exp.More(); edge_exp.Next())
TopoDS_Edge edge = TopoDS::Edge(edge_exp.Current());
// I what to Calculate the points of intersection of current edge and
any edge in their 2D parametric space.
Please help me.