/* r e m o v e I n d e x  */
returnValue Bounds_removeIndex(Bounds *_THIS, Indexlist *const indexlist, int removenumber)
/* r e m o v e I n d e x  */
returnValue Bounds_removeIndex(Bounds *_THIS, Indexlist *const indexlist, int removenumber)
{
	if ( _THIS->status != 0 )
		_THIS->status[removenumber] = ST_UNDEFINED;
	else
		return THROWERROR( RET_REMOVEINDEX_FAILED );
	if ( indexlist != 0 )
	{
		if ( Indexlist_removeNumber( indexlist,removenumber ) != SUCCESSFUL_RETURN )
			return THROWERROR( RET_REMOVEINDEX_FAILED );
	}
	else
		return THROWERROR( RET_INVALID_ARGUMENTS );
	return SUCCESSFUL_RETURN;
}