AddSphere

AddSphere(CSX, propName, prio, center, rad, varargin)

Full definition:

function CSX = AddSphere(CSX, propName, prio, center, rad, varargin)

Add a sphere to CSX and assign to a property with name .

  • center: sphere center coordinates

  • rad : sphere radius

  • prio : primitive priority

example:

CSX = AddMetal(CSX,'metal'); %create PEC with propName 'metal'
CSX = AddSphere(CSX,'metal',10,[0 0 0],50);

See also AddBox, AddCylindricalShell, AddCylinder, AddSphericalShell, AddCurve, AddWire, AddMetal


author: Thorsten Liebig