extensions/xnat/src/utils/IO/classes/AIMWriter.js
/**
   * _addTwoDimensionSpatialCoordinate - Adds an AIM TwoDimensionSpatialCoordinate
   *            to an AIM twoDimensionSpatialCoordinateCollection
   *
   * @param  {object} point The point.
   * @param  {number} coordinateIndex The coordinateIndex.
   * @returns {null}
   */
Adds an AIM TwoDimensionSpatialCoordinate
to an AIM twoDimensionSpatialCoordinateCollection

@param  {object} point The point.
@param  {number} coordinateIndex The coordinateIndex.
@returns {null}
Adds an AIM TwoDimensionSpatialCoordinate to an AIM twoDimensionSpatialCoordinateCollection @param { object } point The point . @param { number } coordinateIndex The coordinateIndex . @returns { null }
_addTwoDimensionSpatialCoordinate(point, coordinateIndex) {
    this.startElement('TwoDimensionSpatialCoordinate');
    this._addProperty('coordinateIndex', 'value', `${coordinateIndex}`);
    this._addProperty('x', 'value', `${point.x}`);
    this._addProperty('y', 'value', `${point.y}`);
    this.endElement();
  }
_addTwoDimensionSpatialCoordinate ( point , coordinateIndex ) { this . startElement ( 'TwoDimensionSpatialCoordinate' ) ; this . _addProperty ( 'coordinateIndex' , 'value' , ` ${ coordinateIndex } ` ) ; this . _addProperty ( 'x' , 'value' , ` ${ point . x } ` ) ; this . _addProperty ( 'y' , 'value' , ` ${ point . y } ` ) ; this . endElement ( ) ; }
_addTwoDimensionSpatialCoordinate - Adds an AIM TwoDimensionSpatialCoordinate
            to an AIM twoDimensionSpatialCoordinateCollection
_addTwoDimensionSpatialCoordinate - Adds an AIM TwoDimensionSpatialCoordinate to an AIM twoDimensionSpatialCoordinateCollection