Re: [IMP-users] how to transcode voxel index vidx to voxel dim index i, j, k ?
To: Help and discussion for users of IMP <>
Subject: Re: [IMP-users] how to transcode voxel index vidx to voxel dim index i, j, k ?
From: Keren Lasker <>
Date: Fri, 4 Feb 2011 06:08:23 -0800
Reply-to: Help and discussion for users of IMP <>
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
>
> https://salilab.org/mailman/listinfo/imp-users