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() -> OESurfaceArc
Default constructor.
OESurfaceArc(adisp: OE2DAtomDisplay, center: OE2DPoint,
bgnAngle: float, endAngle: float, radius: float) -> OESurfaceArc
Creates an OESurfaceArc object with the given parameters.
OESurfaceArc(rhs: OESurfaceArc) -> OESurfaceArc
Copy constructor.
GetAtomDisplay
GetAtomDisplay() -> OE2DAtomDisplay
Returns the pointer of the OE2DAtomDisplay object the given arc belongs to.
See also
OE2DAtomDisplay class in the OEDepict TK manual
GetBgnAngle
GetBgnAngle() -> float
Returns the angle (in degrees) where the arc of the surface starts.
GetCenter
GetCenter() -> OE2DPoint
Returns the (x,y) coordinates of the center of the surface arc.
See also
OE2DPoint class in the OEDepict TK manual
GetEndAngle
GetEndAngle() -> float
Returns the angle (in degrees) where the arc of the surface ends.
GetRadius
GetRadius() -> float
Returns the radius of the arc.
SetAtomDisplay
SetAtomDisplay(adisp: OE2DAtomDisplay) -> bool
Sets the atom display to which the arc belongs.
See also
OE2DAtomDisplay class in the OEDepict manual
SetBgnAngle
SetBgnAngle(angle: float) -> bool
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
SetCenter(center: OE2DPoint) -> bool
Sets the (x,y) coordinates of the center of the surface arc.
SetEndAngle
SetEndAngle(angle: float) -> bool
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
SetRadius(radius: float) -> bool
Sets the radius of the arc.