yes, and j,k are with 1,2
On Feb 4, 2011, at 6:15 AM, Benjamin SCHWARZ wrote:

Hi Keren, and thanks for the answer 

Just to be sure I got the full picture, you recommend something like :
i = get_dim_index_by_location(  get_location_by_voxel(v) , 0 )

   --Ben

Le 4 févr. 2011 à 15:08, Keren Lasker a écrit :

you can use:


//! Calculate dimension index of a given location                                                                       
 /** \param[in] v The position (in angstroms)                                                                            
     \param[in] ind dimension index (X:0,Y:1 or Z:2)                                                                     
  */                                                                                                                     
 int get_dim_index_by_location(const algebra::VectorD<3> &v,int ind) const;



On Feb 4, 2011, at 6:05 AM, Benjamin SCHWARZ wrote:

Hi list,

 I couldn't find the function that computes the "index coordinates" of a voxel from its voxel index (somehow, the opposite of xyz_ind2voxel() function.) do you know if there is any ?

   --Ben
_______________________________________________
IMP-users mailing list
IMP-users@salilab.org
https://salilab.org/mailman/listinfo/imp-users


_______________________________________________
IMP-users mailing list
IMP-users@salilab.org
https://salilab.org/mailman/listinfo/imp-users

---
  Benjamin SCHWARZ  
  Email : schwarz@igbmc.fr
  Voice : +33 (0)3 68 85 47 30
  FAX : +33 (0)3 68 85 47 18

Biocomputing group -- Structural Biology & Genomics Dept. -- IGBMC 
1 rue Laurent Fries
BP 10142
F - 67404 Illkirch CEDEX
FRANCE

_______________________________________________
IMP-users mailing list
IMP-users@salilab.org
https://salilab.org/mailman/listinfo/imp-users