← Back to team overview

dolfin team mailing list archive

Re: [Question #144050]: vector of points in all_intersected_entities

 

On Thursday February 3 2011 22:38:24 Brent Fillery wrote:
> New question #144050 on DOLFIN:
> https://answers.launchpad.net/dolfin/+question/144050
> 
> 
> An option to query mesh object intersections using python is
> mesh.all_intersected_entities(entities, ids_result); where
> mesh=dolfin.cpp.Mesh()
> 
> I can successfully return a result if a sinlge point object
> (dolfin.cpp.Point(x,y,x)) is supplied as argument entities. However i am
> having encountering errors when attempting to supply a list of points.
> 
> Documentation for this command indicates that the argument entities can be
> a list of point or a vector of point objects.
> 
> How does one correctly construct this vector of point objects?
> 
> For example, a simple list of point objects [p1, p2, ..., p3] is not a
> suitable for argument entities.

Unfortunaltely is this feature not yet supported in the Python interface. 
Neither are other "list of" arguments.

File a bug report!

Johan

> Thank you
> 
> Brent



References