You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The python interface generated via SWIG works well for passing objects by
references, but fails to
properly pass data primitives (doubles, ints, etc) properly. For example, in
python:
>>> import stomp
>>> ang = stomp.AngularCoordinate(60.0, 20.0)
>>> pix = stomp.Pixel(ang, 4)
>>> near_distance = 0.0
>>> far_distance = 0.0
>>> pix.EdgeDistances(ang, near_distance, far_distance)
True
>>> print near_distance, far_distance
0.0 0.0
This should store the distance from the input AngularCoordinate to the near and
far Pixel edge
distances into the near_distance and far_distance variables. However, the
values of these
variables are unchanged.
Original issue reported on code.google.com by [email protected] on 17 May 2010 at 7:44
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 17 May 2010 at 7:44The text was updated successfully, but these errors were encountered: