extensions/xnat/src/utils/IO/classes/AIMReader.js
/**
   * _addMarkupEntityIfPolygon - Adds a MarkupEntity to the polygon list if
   * is of the xsi:type "TwoDimensionPolyline"
   *
   * @param  {HTMLElement} markupEntity  The AIM MarkupEntity
   * @param  {string} ROIContourUid The UID of the new ROIContour.
   * @returns {null}
   */
Adds a MarkupEntity to the polygon list if
is of the xsi:type "TwoDimensionPolyline"

@param  {HTMLElement} markupEntity  The AIM MarkupEntity
@param  {string} ROIContourUid The UID of the new ROIContour.
@returns {null}
Adds a MarkupEntity to the polygon list if is of the xsi : type " TwoDimensionPolyline " @param { HTMLElement } markupEntity The AIM MarkupEntity @param { string } ROIContourUid The UID of the new ROIContour . @returns { null }
_addMarkupEntityIfPolygon(markupEntity, ROIContourUid) {
    if (markupEntity.getAttribute('xsi:type') === 'TwoDimensionPolyline') {
      this._addPolygon(markupEntity, ROIContourUid);
    }
  }
_addMarkupEntityIfPolygon ( markupEntity , ROIContourUid ) { if ( markupEntity . getAttribute ( 'xsi:type' ) === 'TwoDimensionPolyline' ) { this . _addPolygon ( markupEntity , ROIContourUid ) ; } }
_addMarkupEntityIfPolygon - Adds a MarkupEntity to the polygon list if
 is of the xsi:type "TwoDimensionPolyline"
_addMarkupEntityIfPolygon - Adds a MarkupEntity to the polygon list if is of the xsi : type " TwoDimensionPolyline "