map_world_to_model#

ScatterGraphic.map_world_to_model(position)#

map position from world space to model (data) space, basically applies the inverse world affine transform

Parameters:

position ((float, float, float) or (float, float)) – (x, y, z) or (x, y) position. If z is not provided then 0 is used.

Returns:

(x, y, z) position in world space

Return type:

np.ndarray