ortho

compas_view2.scene.ortho(left, right, bottom, top, near, far)[source]

Construct an orthogonal projection matrix.

Parameters:
  • left (float) – Location of the left clipping plane.

  • right (float) – Location of the right clipping plane.

  • bottom (float) – Location of the bottom clipping plane.

  • top (float) – Location of the top clipping plane.

  • near (float) – Location of the near clipping plane.

  • far (float) – Location of the far clipping plane.

Returns:

compas.geometry.Transformation