Click or drag to resize

PlaneWave Class

A Plane Wave instance in EMC Plus.

Only one instance of a Plane Wave can exist in a document. Multiple API Plane Wave instances can be created, but changes to any will reflect on the singleton document instance.

Inheritance Hierarchy
SystemObject
  ema3d.Api.V25APISimObjectBasePlaneWave
    ema3d.Api.V25.Core.ExcitationExcitationBasePlaneWave
      ema3d.Api.V25.Core.ExcitationPlaneWave

Namespace: ema3d.Api.V25.Core.Excitation
Assembly: ema3d.Api.V25 (in ema3d.Api.V25.dll) Version: 0.0.0.0
Syntax
public sealed class PlaneWave : ExcitationBase<PlaneWave>

The PlaneWave type exposes the following members.

Properties
 NameDescription
Public propertyAlpha Gets/Sets the polar angle of the plane wave electric field vector (from z axis).
Public propertyBeta Gets/Sets the azimuthal angle of the plane wave electric vector (from x axis).
Public propertyDisplayName Gets/Sets the display name of the underlying sim object.
(Inherited from APISimObjectBaseTWrapper)
Public propertyDocument The document an object exists in.
(Inherited from ExcitationBaseT)
Public propertyPhi Gets/Sets the polar angle of the plane wave incident vector (from x axis).
Public propertySimulation The Simulation an object exists in.
(Inherited from ExcitationBaseT)
Public propertyTheta Gets/Sets the azimuthal angle of the plane wave incident vector (from z axis).
Top
Methods
 NameDescription
Public methodDelete Deletes sim object.
(Inherited from APISimObjectBaseTWrapper)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodStatic memberGetAll Retrieve all PlaneWave objects in the document.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodStatic memberGetInstance Gets the plane wave instance in a document or creates one if it does not exist.
Public methodGetName Returns the name of the object.
(Inherited from APISimObjectBaseTWrapper)
Public methodGetSiblings Get all objects that share this object's type in the document.
(Overrides APISimObjectBaseTWrapperGetSiblings(Document))
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodSetName Sets the name of the object
(Inherited from APISimObjectBaseTWrapper)
Public methodSetVisibility Sets the visibility status of the object.
(Inherited from APISimObjectBaseTWrapper)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Example
Python
from ema3d.Api.V25.Core.Excitation import PlaneWave as PlaneWave

# Get plane wave instance
_pw = PlaneWave.GetInstance()
_pw.DisplayName = "Plane Wave Instance"
# Set polarization parameters. NOTE: Orthogonalization occurs after each setter
_pw.Alpha = 1.5708
_pw.Beta = 1.5708
See Also