Box

Concrete subclass of Shape representing a 3D box.

Contents

Description

Box is the most basic shape. Its sides are aligned with the axes of the Cartesian coordinate system.

Construction

shape = Box(bound)
shape = Box(bound, dl_max)

Input Arguments

Example

% Create an instance of Box.
shape = Box([-100 100; -50 50; 0 20]);
% Use the constructed shape in maxwell_run().
[E, H] = maxwell_run({INITIAL ARGUMENTS}, 'OBJ', {'vacuum', 'none', 1.0}, shape, {REMAINING ARGUMENTS});

See Also

Shape, maxwell_run