[Insight-users] MeshSpatialObject

Julien Jomier julien.jomier at kitware.com
Mon Aug 21 20:03:44 EDT 2006


Hi Gheorghe,

Did you also change the type of cell to be something else other than 
TetrahedronCell? (like TriangleCell). TetrahedronCell doesn't make sens 
in 2D.

Hope that helps,

Julien

Gheorghe Postelnicu wrote:
> Hi,
> 
> I would have liked to use a MeshSpatialObject to get the signed
> distance function from a set of contours in 2D. I chose as a starting
> point the example code from MeshSpatialObject.cxx and just adapted it
> by changing the dimension from 3 to 2. However, the code results in a
> segmentation fault.
> 
> I am working with ITK 2.8.1 on Linux.
> Any suggestions?
> 
> Thanks,



More information about the Insight-users mailing list