openmc.model.OrthogonalBox

class openmc.model.OrthogonalBox(v, a1, a2, a3=None, **kwargs)[source]

Arbitrarily oriented orthogonal box

This composite surface is composed of four or six planar surfaces that form an arbitrarily oriented orthogonal box when combined.

Parameters
  • v (iterable of float) – (x,y,z) coordinates of a corner of the box

  • a1 (iterable of float) – Vector of first side starting from v

  • a2 (iterable of float) – Vector of second side starting from v

  • a3 (iterable of float, optional) – Vector of third side starting from v. When not specified, it is assumed that the box will be infinite along the vector normal to the plane specified by a1 and a2.

  • **kwargs – Keyword arguments passed to underlying plane classes

Variables
  • ax1_max (ax1_min,) – Planes representing minimum and maximum along first axis

  • ax2_max (ax2_min,) – Planes representing minimum and maximum along second axis

  • ax3_max (ax3_min,) – Planes representing minimum and maximum along third axis