OESurfaceArc
class OESurfaceArc
This class represents OESurfaceArc that stores data for drawing the arcs of molecule surface. See Figure: Example of the data stored in the OESurfaceArc class.
Example of the data stored in the OESurfaceArc class
Note
Angles are interpreted such that \(0.0^{\circ}\) and \(360.0^{\circ}\) degrees are at the 12 o’clock position, \(90.0^{\circ}\) degree corresponds to 3 o’clock, etc.
See also
OESurfaceArcFxnBase class
OEGet2DSurfaceArcsfunction
Constructors
OESurfaceArc()
Default constructor.
OESurfaceArc(const OEDepict::OE2DAtomDisplay *adisp,
const OEDepict::OE2DPoint ¢er, double bgnAngle, double endAngle,
double radius)
Creates an OESurfaceArc object with the given parameters.
OESurfaceArc(const OESurfaceArc &rhs)
Copy constructor.
operator=
OESurfaceArc &operator=(const OESurfaceArc &rhs)
Assignment operator.
GetAtomDisplay
const OEDepict::OE2DAtomDisplay *GetAtomDisplay() const
Returns the pointer of the OE2DAtomDisplay object the given arc belongs to.
See also
OE2DAtomDisplay class in the OEDepict TK manual
GetBgnAngle
double GetBgnAngle() const
Returns the angle (in degrees) where the arc of the surface starts.
GetCenter
const OEDepict::OE2DPoint &GetCenter() const
Returns the (x,y) coordinates of the center of the surface arc.
See also
OE2DPoint class in the OEDepict TK manual
GetEndAngle
double GetEndAngle() const
Returns the angle (in degrees) where the arc of the surface ends.
GetRadius
double GetRadius() const
Returns the radius of the arc.
SetAtomDisplay
bool SetAtomDisplay(const OEDepict::OE2DAtomDisplay *adisp)
Sets the atom display to which the arc belongs.
See also
OE2DAtomDisplay class in the OEDepict manual
SetBgnAngle
bool SetBgnAngle(double angle)
Sets the angle where the arc of the surface begins.
- angle
The angle has to in the range of \([0.0^{\circ}, 360.0^{\circ}]\)
SetCenter
bool SetCenter(const OEDepict::OE2DPoint ¢er)
Sets the (x,y) coordinates of the center of the surface arc.
SetEndAngle
bool SetEndAngle(double angle)
Sets the angle where the arc of the surface ends.
- angle
The angle has to in the range of \([0.0^{\circ}, 360.0^{\circ}]\)
SetRadius
bool SetRadius(double radius)
Sets the radius of the arc.