Point

Concrete subclass of Shape representing a point.

Contents

Description

Point represents the shape of a point. It does not have a volume, but it is used to force a user-defined primary grid point in maxwell_run.

Construction

shape = Point(location)

Example

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

See Also

Plane, Rectangle, Line, ZeroVolShape, maxwell_run