For the geometry visualizer, We use our own code using GcPnts_...Deflection() for each curves and surface edges.
Now We want to perform SetPole() or MovePoint() on a surface
to change it's shape slightly.
The problem is... for the trimmed surfaces,
there were no relevant changes on it's trimmed edges.
It seemes unchanged. While if I saved it to IGES and reloaded it.
It worked (???)
So we've made an idea that goes as follows
- obtain a matrix of 2d edge curves in parametric space of
a surface with BRep_Tool::CurveOnSurface() by using
TopAbs_WIRE & TopAbs_EDGE Explorer in turn.
- modify original surface with MovePoint() or SetPole()
- build a new face using already stored 2d parametric curves
by BRepBuilderAPI_MakeFace(TopoDs_Face, TopoDS_Wire)
but We don't know how to convert 2d paremetric curves into
3d curves on a surface. I can not find any relevant function
which can perform this feature.
If this method is wrong, please let me know the better approach.