OERailroadTrackArcFxn
class OERailroadTrackArcFxn : public OESurfaceArcFxnBase
This class represents OERailroadTrackArcFxn. See example in Example of drawing molecule surface using OERailroadTrackArcFxn.
Example of drawing molecule surface using OERailroadTrackArcFxn
See also
OEDrawRailroadTrackSurfaceArcfunctionOESetSurfaceArcFxnfunctionOEDraw2DSurfacefunction
The following methods are publicly inherited from OESurfaceArcFxnBase:
Constructors
OERailroadTrackArcFxn(pen: OEPen = OEBlackPen) -> OERailroadTrackArcFxn
Default constructor.
- pen
The graphical properties of the arc.
operator()
__call__(image: OEImageBase, arc: OESurfaceArc) -> bool
Draws a surface arc with the
OESurfaceArcStyle_RailroadTrack style.
See example in Example of drawing molecule surface using OERailroadTrackArcFxn.
- image
The image on which the surface arc is drawn.
- arc
The object that stores the parameters of the surface arc.
See also
OESurfaceArc class
CreateCopy
CreateCopy() -> OERailroadTrackArcFxn
Deep copy constructor that returns a copy of the object. The memory for the returned OERailroadTrackArcFxn object is dynamically allocated and owned by the caller.