mrdja.geometry.get_limits_of_3d_graph_from_limits_of_object

mrdja.geometry.get_limits_of_3d_graph_from_limits_of_object(min_x: float, max_x: float, min_y: float, max_y: float, min_z: float, max_z: float) Tuple[float, float, float, float, float, float][source]

Get limits of graph from limits of object. The (0,0,0) point should be in the center of the graph and the object should be whole visible. The visible zone should be square. This is useful for plotting.

Parameters:
  • min_x (float) – Minimum x.

  • max_x (float) – Maximum x.

  • min_y (float) – Minimum y.

  • max_y (float) – Maximum y.

  • min_z (float) – Minimum z.

Returns:

Limits of graph.

Return type:

Tuple[float, float, float, float, float, float]