Ellipsoid
Concrete subclass of Shape representing an ellipsoid.
Contents
Description
Ellipsoid represents the shape of an ellipsoid. The three axes of the ellipsoid should be aligned with the axes of the Cartesian coordinate system.
Construction
shape = Ellipsoid(center, semiaxes) shape = Ellipsoid(center, semiaxes, dl_max)
Example
% Create an instance of Ellipsoid.
shape = Ellipsoid(Axis.z, [0 0 0], [100 50 50]);
% Use the constructed shape in maxwell_run(). [E, H] = maxwell_run({INITIAL ARGUMENTS}, 'OBJ', {'vacuum', 'none', 1.0}, shape, {REMAINING ARGUMENTS});
See Also
Sphere, CircularCylinder, EllipticCylinder, Shape, maxwell_run