Phasor Class Members

  1. private double mX_cord: x coordinate of Phasor. Used in the context of rectangular coordinate systems.
  2. private double mY_cord: y coordinate of Phasor. Used in the context of rectangular coordinate systems.
  3. private double mRadius: Magnitude of the Phasor. Used in the context of polar/imaginary coordinate systems. Is the distance from origin to the x, y point
  4. private double mAngle: Angle of the Phasor. Used in the context of polar/imaginary coordinate systems. Is the angle from the positive x axis to the x, y point. Stored as Degrees
  5. private int error_num: Internal representation of the error.
  6. public bool isError: Public flag indicating an error has occurred in the object.
  7. private int number_dec_places: Number of decimal places to show with ToString();

Phasor Class Accessors

  1. public double mag: Gets/Sets the Radius(Magnitude) of the phasor. Calls an update on the phasor object.
  2. public double angle_deg: Gets/Sets the Angle of the phasor in degrees. Calls an update on the phasor object.
  3. public double angle_rad: Gets/Sets the Angle of the phasor in radians. Calls an update on the phasor object.
  4. public double x: Gets/Sets the x coordinate of the phasor. Calls an update on the phasor object.
  5. public double y: Gets/Sets the y coordinate of the phasor. Calls an update on the phasor object.
#public int num_places: Gets/Sets the number of decimal places to show in ToString()

Last edited Apr 29, 2011 at 2:26 AM by Justinius, version 3

Comments

No comments yet.