# OEGenerate2DCoordinates¶

bool OEGenerate2DCoordinates(OEMolBase &mol);


Assigns 2D coordinates to the given OEMolBase object. The coordinates of each explicit atom are assigned using the OEMolBase.SetCoords method. This function automatically set the dimensionality of the molecule to two, using the OEMolBase.SetDimension method.

Note

OEGenerate2DCoordinates is a low-level function that only generates 2D coordinates but does not perform any other perceptions.

OEGenerate2DCoordinates will clear MDL bond stereo information that can be re-perceived by calling the OEMDLPerceiveBondStereo function.

See also

OEInit2DRingDictionary function
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 1, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.21665088832378387, "perplexity": 5008.21000197956}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.3, "absolute_threshold": 10, "end_threshold": 15, "enable": false}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2018-22/segments/1526794867311.83/warc/CC-MAIN-20180526053929-20180526073929-00359.warc.gz"}