OEDepictOrientationΒΆ

This namespace contains constants that control the preferred orientation of the 2D coordinates when calling the OEPrepareDepiction function.

The OEDepictOrientation namespace contains the following constants:

Default

The default orientation is OEDepictOrientation_Original.

Horizontal

The orientation of the 2D coordinates is changed in order to maximize the scaling of the molecule for horizontal images. See example above of depicting molecules with OEDepictOrientation_Default and OEDepictOrientation_Horizontal orientations.

OEDepictOrientation_Default OEDepictOrientation_Horizontal
../../_images/OEDepictOrientation_Horizontal_Default.png ../../_images/OEDepictOrientation_Horizontal.png

Original

No-op i.e the orientation of the 2D coordinates are not optimized in order to maximize the molecule scaling.

Square

The orientation of the 2D coordinates is changed in order to maximize the scaling of the molecule for square images. See example above of depicting molecules with OEDepictOrientation_Default and OEDepictOrientation_Square orientations.

OEDepictOrientation_Default OEDepictOrientation_Square
../../_images/OEDepictOrientation_Square_Default.png ../../_images/OEDepictOrientation_Square.png

Vertical

The orientation of the 2D coordinates is changed in order to maximize the scaling of the molecule for vertical images. See example above of depicting molecules with OEDepictOrientation_Default and OEDepictOrientation_Vertical orientations.

OEDepictOrientation_Default OEDepictOrientation_Vertical
../../_images/OEDepictOrientation_Vertical_Default.png ../../_images/OEDepictOrientation_Vertical.png