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.
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
OEGet2DSurfaceArcs
function
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.
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.
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}]\)