SceneObject.place

giant.ray_tracer.scene:

SceneObject.place(date)[source]

Place the object using the orientation_function and position_function at the requested date.

This is done by calling the orientation_function and position_function with the input date and then calling methods change_orientation() and change_position() in order with the results from the function calls. If either of the attributes are still None this method will print a warning and do nothing.

Parameters:

date (datetime | Timestamp) – The date we are to place the object at