How to create a GEOM::GEOM_Object from TopoDS_Shape ?
Up to Use
How to create a GEOM::GEOM_Object from TopoDS_Shape ?
Hi,
I've got a complex surface described by a triangulation. Using this triangulation I've created an OpenCascade polyTriangulation then a TopoDS_Shape.
I would like to know how can I transform this TopoDS_shape to a GEOM::GEOM_Object_ptr in order to publish it in the SALOME Study.
Regards,
Kamel.
Re: How to create a GEOM::GEOM_Object from TopoDS_Shape ?
Hello Kamel,
Sorry, it is not quite clear. Is your code external to SALOME? I mean, is it any external application? Or you integrated your code somewhere in SALOME? If yes, where is your code integrated to?
Vadim.
Re: How to create a GEOM::GEOM_Object from TopoDS_Shape ?
Hi Vadim,
I've created a SALOME module which reads a GIS data (geographic data) that describes a terrain by a triangulation. From my module i am trying to call GEOM and create a surface and intersect it with other geometric objects (buildings, roads ...)
I hope that's a bit clearer.
Reagrds.
