Sphere

Concrete subclass of Ellipsoid representing a sphere.

Contents

Description

Sphere represents the shape of a sphere.

Construction

shape = Sphere(center, radius)
shape = Sphere(center, radius, dl_max)

Example

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

See Also

Ellipsoid, EllipticCylinder, CircularCylinder, Shape, maxwell_run