openalea.phenomenal.multi_view_reconstruction.multi_view_reconstruction.split_voxels_in_eight

openalea.phenomenal.multi_view_reconstruction.multi_view_reconstruction.split_voxels_in_eight(voxels)[source]

Split each voxel in 8 en return the numpy.array position

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

/ /| / / /|

/ / | /——–/———/ |

/_ _ _ _ _ _ _ _ _ / | /_ _ _ _ / _ _ _ _ /| |

| | | | | |/|
| | =======> | | | / |
| / | | | |/
| / | | | /
_ _ _ _ _ _ _ _ _|/ |_ _ _ _ | _ _ _ _ |/
Parameters:

voxels (Voxels) – Where position is a numpy.array([[x, y, z], …] containing the center position of each voxel and size the diameter size value (float) of each voxel.

Returns:

voxels

Return type:

Voxels