GenerateSquareUniformElectricField.Builder

public static class Builder implements ElectricFieldCommandBuilder

Methods

build

public ElectricFieldCommand build()

Creates a new command for generating a SquareUniformElectricField.

Returns:A new instance of this command.

height

public Builder height(double height)

orientation

public Builder orientation(Vector3D orientation)

refractiveIndex

public Builder refractiveIndex(RefractiveIndex refractiveIndex)

wavelength

public Builder wavelength(double wavelength)

width

public Builder width(double width)