code: int addGeometry(Geometry geometry) {
  		Geometry.Type gt = geometry.getType();
  		if (Geometry.isMultiPath(gt.value()))
  			return addMultiPath_((MultiPath) geometry);
  		if (gt == Geometry.Type.MultiPoint)
  			return addMultiPoint_((MultiPoint) geometry);
  
  		throw GeometryException.GeometryInternalError();
  	}
docs: Adds a Geometry to the Edit_shape