[Gmsh] different return types with addRuledFaces function in GModel.cpp and GModelFactory.cpp

Guowei He rteycisy at gmail.com
Mon May 14 13:22:08 CEST 2012


Hi,

I'm confused, in GModel.cpp:

void GModel::addRuledFaces (std::vector<std::vector<GEdge *> > edges)
{
  if(_factory)
    _factory->addRuledFaces(this, edges);
}

but in GModelFactory.cpp:

std::vector<GFace *> GeoFactory::addRuledFaces(GModel *gm,

std::vector<std::vector<GEdge *> > edges)
{
...

And I tried to call a void version of this function using Gmsh factory and
nothing happens.

What's the correct way of generating a ruled surface using Gmsh as a
library?

Many thanks.
-- 
Kind regards,
Guowei He
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20120514/2d1493e5/attachment.html>