Personal tools
You are here: Home Forum Use How to create a GEOM::GEOM_Object from TopoDS_Shape ?

How to create a GEOM::GEOM_Object from TopoDS_Shape ?

Up to Use

How to create a GEOM::GEOM_Object from TopoDS_Shape ?

Posted by ZIBOUCHE Kamel at January 21. 2010 11:30:09

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 ?

Posted by Site Administrator at January 21. 2010 12:32:14

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 ?

Posted by ZIBOUCHE Kamel at January 21. 2010 12:57:20

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. 

Powered by Ploneboard
Document Actions